From d5cdf3755963ac24d05b9dd6661cee6795ae85d0 Mon Sep 17 00:00:00 2001 From: Martin Gerlach Date: Thu, 12 Oct 2023 09:44:02 +0200 Subject: [PATCH] fix: reference inputs correctly --- .github/workflows/release-template.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-template.yml b/.github/workflows/release-template.yml index 098f71c..2debf9e 100644 --- a/.github/workflows/release-template.yml +++ b/.github/workflows/release-template.yml @@ -27,7 +27,7 @@ jobs: - name: Create new release uses: cycjimmy/semantic-release-action@v4 - if: ${{ inputs.build-release }} == 'true' + if: ${{ github.event.inputs.build-release }} == 'true' id: semantic with: extra_plugins: | @@ -41,11 +41,11 @@ jobs: echo "RELEASE!" - name: if-not-release - if: ${{ inputs.build-release }} == 'false' + if: ${{ github.event.inputs.build-release }} == 'false' run: | echo "NOT RELEASE!" - name: if-release-or-not-release - if: steps.semantic.outputs.new_release_published == 'true' || ${{ inputs.build-release }} == 'false' + if: steps.semantic.outputs.new_release_published == 'true' || ${{ github.event.inputs.build-release }} == 'false' run: | echo "RELEASE OR NOT RELEASE? THAT IS THE QUESTION!"