From 93a7046b59e284a1a326e8686b0270e473a183bb Mon Sep 17 00:00:00 2001 From: morenol <22335041+morenol@users.noreply.github.com> Date: Mon, 17 Apr 2023 19:40:01 +0000 Subject: [PATCH] ci: parse input as boolean (#3157) >> 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 https://github.com/infinyon/fluvio/issues/3045 --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 35dc41e95f..173349dfd1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} @@ -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 }}