|
40 | 40 | JSON_ARRAY=$(echo "[\"$(echo ${{ inputs.branches }} | tr ' ' '\",\"')\"]")
|
41 | 41 | echo "branches=$JSON_ARRAY" >> "$GITHUB_OUTPUT"
|
42 | 42 | 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" |
46 | 43 |
|
47 | 44 | publish_each:
|
48 | 45 | runs-on: ubuntu-latest
|
@@ -76,24 +73,24 @@ jobs:
|
76 | 73 | )
|
77 | 74 | # Convert to single line and escape quotes
|
78 | 75 | 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 |
97 | 94 |
|
98 | 95 | announce:
|
99 | 96 | runs-on: ubuntu-latest
|
|
0 commit comments