diff --git a/.github/actions/dotnet-publish/action.yml b/.github/actions/dotnet-publish/action.yml index b493d3eb..c6d2250c 100644 --- a/.github/actions/dotnet-publish/action.yml +++ b/.github/actions/dotnet-publish/action.yml @@ -29,8 +29,7 @@ runs: - name: "Dotnet: Check Variables" shell: bash run: | - [ -z "$PLATFORM" ] || echo "Missing Platform" && exit 1 - [ -z "$PLATFORM" ] || exit 1 + [ -z "$PLATFORM" ] && echo "Missing Platform" && exit 1 env: PLATFORM: ${{inputs.PLATFORM}}