Skip to content

Commit

Permalink
fix: reference inputs correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mgerlach committed Oct 12, 2023
1 parent 91944eb commit d5cdf37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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!"

0 comments on commit d5cdf37

Please sign in to comment.