From 164fd3faf7cef7e0611a23e6a7cc1acb52e1f943 Mon Sep 17 00:00:00 2001 From: Tyler Leonhardt Date: Wed, 16 Feb 2022 11:19:17 -0800 Subject: [PATCH] use correct false checking --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e41ad9c3fb..46264029ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,10 +4,10 @@ on: - cron: 0 0 * * WED workflow_dispatch: inputs: - skip-tag-creation: + create-release: required: false type: boolean - description: Decides whether this run will create a GitHub release. Defaults to false. + description: If true, this run will tag and create a GitHub Release. Defaults to false. extension: required: false type: string @@ -29,7 +29,7 @@ jobs: shell: pwsh run: | "Inputs" - "skip-tag-creation: ${{ github.event.inputs.skip-tag-creation }}" + "create-release: ${{ github.event.inputs.create-release }}" "extension: ${{ github.event.inputs.extension }}" - name: Checkout code @@ -45,14 +45,14 @@ jobs: shell: pwsh - name: Commit tagger - if: ${{ !github.event.inputs.skip-tag-creation }} + if: ${{ github.event.inputs.create-release != 'false' }} uses: tvdias/github-tagger@v0.0.2 with: repo-token: ${{ secrets.GITHUB_TOKEN }} tag: ${{ steps.get-tag.outputs.tag }} - name: Create Release - if: ${{ !github.event.inputs.skip-tag-creation }} + if: ${{ github.event.inputs.create-release != 'false' }} id: create-release uses: actions/create-release@v1 env: