Skip to content

Commit 53e1499

Browse files
Try !! syntax to convert the sometimes-a-string input to boolean
1 parent eb4f7aa commit 53e1499

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/multi_publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
echo "Branches: $JSON_ARRAY" >> "$GITHUB_STEP_SUMMARY"
4343
echo "\`dry_run\`: ${{ inputs.dry_run }}" >> "$GITHUB_STEP_SUMMARY"
4444
echo "\`!dry_run\`: ${{ !inputs.dry_run }}" >> "$GITHUB_STEP_SUMMARY"
45+
echo "\`!!dry_run\`: ${{ !!inputs.dry_run }}" >> "$GITHUB_STEP_SUMMARY"
4546
echo "\`dry_run=='true'\`: ${{ inputs.dry_run == 'true' }}" >> "$GITHUB_STEP_SUMMARY"
4647
echo "\`dry_run=='false'\`: ${{ inputs.dry_run == 'false' }}" >> "$GITHUB_STEP_SUMMARY"
4748

0 commit comments

Comments
 (0)