Skip to content

Commit

Permalink
Fix empty force push
Browse files Browse the repository at this point in the history
When force_push is false, force var still needs to be assigned

echo "force=" >> $GITHUB_OUTPUT

This results in syntax error: unexpected end of file
  • Loading branch information
rafaelfolco committed Aug 7, 2024
1 parent bc27157 commit a41f244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/crucible-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
if [ ${{ inputs.force_push == true }} ]; then
echo "force='-f'" >> $GITHUB_OUTPUT
else
echo "force=" >> $GITHUB_OUTPUT
echo "force=''" >> $GITHUB_OUTPUT
display-params:
runs-on: ubuntu-latest
Expand Down

0 comments on commit a41f244

Please sign in to comment.