From 9ab307df4f4f617adac33c6a36f492229050bb0e Mon Sep 17 00:00:00 2001 From: ab77 Date: Mon, 7 Nov 2022 08:39:52 -0800 Subject: [PATCH] Only run finalize on Linux runners Change-type: patch --- .github/actions/finalize/action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/actions/finalize/action.yml b/.github/actions/finalize/action.yml index 0b0d0759..376efa75 100644 --- a/.github/actions/finalize/action.yml +++ b/.github/actions/finalize/action.yml @@ -14,6 +14,7 @@ runs: using: "composite" steps: - name: Get release version + if: runner.os == 'Linux' id: get_release shell: bash --noprofile --norc -eo pipefail -x {0} run: | @@ -24,6 +25,7 @@ runs: echo "version=$(jq -r '.version' package.json)" >> $GITHUB_OUTPUT - name: Rename release + if: runner.os == 'Linux' shell: bash --noprofile --norc -eo pipefail -x {0} run: | set -ea @@ -38,6 +40,7 @@ runs: GITHUB_TOKEN: ${{ fromJSON(inputs.secrets).FLOWZONE_TOKEN }} - name: Finalize GitHub release + if: runner.os == 'Linux' uses: softprops/action-gh-release@v1 with: name: v${{ steps.get_release.outputs.version }}