Skip to content

Commit 804f12b

Browse files
committed
fix: workflow corrections
1 parent 58170f4 commit 804f12b

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,11 +348,25 @@ jobs:
348348
if: ${{ env.INTERSECTBOT_ACCESS_TOKEN != '' }}
349349
run: echo "token-set=true" >> "$GITHUB_OUTPUT"
350350

351+
debug-check-tokens:
352+
name: Debug state of check-tokens
353+
needs: [check-tokens]
354+
runs-on: ubuntu-latest
355+
steps:
356+
- id: dump
357+
name: Dump check-tokens output
358+
env:
359+
PUBLISH_FORUM: needs.check-tokens.outputs.publish-forum
360+
PUBLISH_GITHUB: needs.check-tokens.outputs.publish-github
361+
run: |
362+
echo "PUBLISH_FORUM='$PUBLISH_FORUM'"
363+
echo "PUBLISH_GITHUB='$PUBLISH_GITHUB'"
364+
351365
publish-github:
352366
name: Publish GitHub Release
353367
needs: [check-tokens]
354368
runs-on: ubuntu-latest
355-
if: inputs.workflowDebug != true && needs.check-tokens.outputs.publish-forum == 'true'
369+
if: inputs.workflowDebug != true && needs.check-tokens.outputs.publish-github == 'true'
356370
steps:
357371
- name: Checkout Code
358372
uses: actions/checkout@v4

0 commit comments

Comments
 (0)