Skip to content

Commit d95e86f

Browse files
Remove temporary debugging code
1 parent af878c6 commit d95e86f

File tree

1 file changed

+18
-21
lines changed

1 file changed

+18
-21
lines changed

.github/workflows/multi_publish.yml

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ 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 "\`fromJson(dry_run)\`: ${{ fromJson(inputs.dry_run) }}" >> "$GITHUB_STEP_SUMMARY"
45-
echo "\`!fromJson(dry_run)\`: ${{ !fromJson(inputs.dry_run) }}" >> "$GITHUB_STEP_SUMMARY"
4643
4744
publish_each:
4845
runs-on: ubuntu-latest
@@ -76,24 +73,24 @@ jobs:
7673
)
7774
# Convert to single line and escape quotes
7875
echo "json=${JSON_STRING//$'\n'/}" >> "$GITHUB_OUTPUT"
79-
# - name: Trigger publish workflow
80-
# id: publish_dispatch
81-
# uses: codex-/return-dispatch@v2
82-
# with:
83-
# token: ${{ github.token }}
84-
# owner: Wurst-Imperium
85-
# repo: Mo-Glass
86-
# ref: ${{ matrix.branch }}
87-
# workflow: publish.yml
88-
# workflow_inputs: ${{ steps.publish_inputs.outputs.json }}
89-
# - name: Wait for publish workflow to finish (run ${{ steps.publish_dispatch.outputs.run_id }})
90-
# uses: codex-/await-remote-run@v1
91-
# with:
92-
# token: ${{ github.token }}
93-
# owner: Wurst-Imperium
94-
# repo: Mo-Glass
95-
# run_id: ${{ steps.publish_dispatch.outputs.run_id }}
96-
# run_timeout_seconds: 600 # 10 minutes
76+
- name: Trigger publish workflow
77+
id: publish_dispatch
78+
uses: codex-/return-dispatch@v2
79+
with:
80+
token: ${{ github.token }}
81+
owner: Wurst-Imperium
82+
repo: Mo-Glass
83+
ref: ${{ matrix.branch }}
84+
workflow: publish.yml
85+
workflow_inputs: ${{ steps.publish_inputs.outputs.json }}
86+
- name: Wait for publish workflow to finish (run ${{ steps.publish_dispatch.outputs.run_id }})
87+
uses: codex-/await-remote-run@v1
88+
with:
89+
token: ${{ github.token }}
90+
owner: Wurst-Imperium
91+
repo: Mo-Glass
92+
run_id: ${{ steps.publish_dispatch.outputs.run_id }}
93+
run_timeout_seconds: 600 # 10 minutes
9794

9895
announce:
9996
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)