Skip to content

Commit

Permalink
use correct false checking
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerLeonhardt committed Feb 16, 2022
1 parent c7e9039 commit 164fd3f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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/[email protected]
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:
Expand Down

0 comments on commit 164fd3f

Please sign in to comment.