From e33bb69b36d229353f4decfa759d77cea5efc3cb Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Sat, 14 Dec 2024 15:55:46 +0000 Subject: [PATCH] [Actions] Updated .github/actions/dotnet-publish/action.yml --- .github/actions/dotnet-publish/action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/actions/dotnet-publish/action.yml b/.github/actions/dotnet-publish/action.yml index ac40f869..b493d3eb 100644 --- a/.github/actions/dotnet-publish/action.yml +++ b/.github/actions/dotnet-publish/action.yml @@ -26,6 +26,14 @@ inputs: runs: using: "composite" steps: + - name: "Dotnet: Check Variables" + shell: bash + run: | + [ -z "$PLATFORM" ] || echo "Missing Platform" && exit 1 + [ -z "$PLATFORM" ] || exit 1 + env: + PLATFORM: ${{inputs.PLATFORM}} + # TODO: Investigate changing the settings for these to be project settings like with "-p:PublishTrimmed=False" so can # optimise the projects that better suit the settings. #