From d28a99f2aafe09a0710c8e1c677c4799b7c8d6a3 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Sat, 14 Dec 2024 17:21:26 +0000 Subject: [PATCH] Corrected -z with && rather than || --- .github/actions/dotnet-publish/action.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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}}