Skip to content

Commit

Permalink
ci: parse input as boolean (#3157)
Browse files Browse the repository at this point in the history
>> Note: The workflow will also receive the inputs in the github.event.inputs context. The information in the inputs context and github.event.inputs context is identical except that the inputs context preserves Boolean values as Booleans instead of converting them to strings.

https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_dispatchinputs

This should fix #3045
  • Loading branch information
morenol committed Apr 17, 2023
1 parent 2c393a9 commit 93a7046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ jobs:

publish_crates:
name: Publish Crates
if: ${{ !github.event.inputs.pre_release }}
if: ${{ !inputs.pre_release }}
uses: ./.github/workflows/publish_crates.yml
with:
commit: ${{ github.event.inputs.commit }}
Expand All @@ -254,7 +254,7 @@ jobs:
needs: [setup_job, release_github, release_docker, release_fluvio]
#permissions: write-all
runs-on: ubuntu-latest
if: ${{ !github.event.inputs.pre_release }}
if: ${{ !inputs.pre_release }}
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down

0 comments on commit 93a7046

Please sign in to comment.