Skip to content

Commit 0c50279

Browse files
Debug if the dry_run input is seen as a string or a boolean
1 parent 6663c87 commit 0c50279

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/multi_publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ jobs:
4040
JSON_ARRAY=$(echo "[\"$(echo ${{ inputs.branches }} | tr ' ' '\",\"')\"]")
4141
echo "branches=$JSON_ARRAY" >> "$GITHUB_OUTPUT"
4242
echo "Branches: $JSON_ARRAY" >> "$GITHUB_STEP_SUMMARY"
43+
echo "`dry_run`: ${{ inputs.dry_run }}" >> "$GITHUB_STEP_SUMMARY"
44+
echo "`!dry_run`: ${{ !inputs.dry_run }}" >> "$GITHUB_STEP_SUMMARY"
45+
echo "`dry_run=='true'`: ${{ inputs.dry_run == 'true' }}" >> "$GITHUB_STEP_SUMMARY"
46+
echo "`dry_run=='false'`: ${{ inputs.dry_run == 'false' }}" >> "$GITHUB_STEP_SUMMARY"
4347
4448
publish_each:
4549
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)