Skip to content

Commit

Permalink
Try !! syntax to convert the sometimes-a-string input to boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Jan 22, 2025
1 parent eb4f7aa commit 53e1499
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/multi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
echo "Branches: $JSON_ARRAY" >> "$GITHUB_STEP_SUMMARY"
echo "\`dry_run\`: ${{ inputs.dry_run }}" >> "$GITHUB_STEP_SUMMARY"
echo "\`!dry_run\`: ${{ !inputs.dry_run }}" >> "$GITHUB_STEP_SUMMARY"
echo "\`!!dry_run\`: ${{ !!inputs.dry_run }}" >> "$GITHUB_STEP_SUMMARY"
echo "\`dry_run=='true'\`: ${{ inputs.dry_run == 'true' }}" >> "$GITHUB_STEP_SUMMARY"
echo "\`dry_run=='false'\`: ${{ inputs.dry_run == 'false' }}" >> "$GITHUB_STEP_SUMMARY"
Expand Down

0 comments on commit 53e1499

Please sign in to comment.