Skip to content

Commit

Permalink
Treat inputs.apply as boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
yykamei committed Apr 13, 2024
1 parent 88998cc commit 1377e83
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 @@ -104,7 +104,7 @@ jobs:
- uses: yykamei/actions-git-push@main
with:
commit-message: Bump to ${{ inputs.version }}
if: inputs.apply == 'true'
if: inputs.apply

- name: Create a GitHub release and publish the crate on crates.io
run: ./scripts/release.sh
Expand All @@ -122,7 +122,7 @@ jobs:
for f in thwack-*; do sha256sum "$f" | awk '{print $1}' > "${f}.sha256"; done
- name: Upload assets to the release
if: inputs.apply == 'true'
if: inputs.apply
run: gh release upload "v${{ inputs.version }}" thwack-*
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}

0 comments on commit 1377e83

Please sign in to comment.