Skip to content

Commit f813d77

Browse files
committed
Try alternative check-tokens
1 parent 90d4705 commit f813d77

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,21 @@ jobs:
4747
runs-on: ubuntu-latest
4848
if: inputs.workflowDebug != true && inputs.packagingDebug != true && inputs.skipForumPublish != true
4949
outputs:
50-
publish-forum: ${{ steps.check-token-forum.token-set == 'true' }}
51-
publish-github: ${{ steps.check-token-github.token-set == 'true' }}
52-
steps:
53-
- id: check-token-forum
54-
name: Check the token used for publishing releases on the forum
55-
env:
56-
INTERSECTBOT_FORUM_TOKEN: ${{ secrets.INTERSECTBOT_FORUM_TOKEN }}
57-
if: ${{ env.INTERSECTBOT_FORUM_TOKEN != '' }}
58-
run: echo "token-set=true" >> "$GITHUB_OUTPUT"
59-
- id: check-token-github
60-
name: Check the token used for publishing GitHub releases
61-
env:
62-
INTERSECTBOT_ACCESS_TOKEN: ${{ secrets.INTERSECTBOT_ACCESS_TOKEN }}
63-
if: ${{ env.INTERSECTBOT_ACCESS_TOKEN != '' }}
64-
run: echo "token-set=true" >> "$GITHUB_OUTPUT"
50+
publish-forum: ${{ secrets.INTERSECTBOT_FORUM_TOKEN != '' }}
51+
publish-github: ${{ secrets.INTERSECTBOT_ACCESS_TOKEN != '' }}
52+
# steps:
53+
# - id: check-token-forum
54+
# name: Check the token used for publishing releases on the forum
55+
# env:
56+
# INTERSECTBOT_FORUM_TOKEN: ${{ secrets.INTERSECTBOT_FORUM_TOKEN }}
57+
# if: ${{ env.INTERSECTBOT_FORUM_TOKEN != '' }}
58+
# run: echo "token-set=true" >> "$GITHUB_OUTPUT"
59+
# - id: check-token-github
60+
# name: Check the token used for publishing GitHub releases
61+
# env:
62+
# INTERSECTBOT_ACCESS_TOKEN: ${{ secrets.INTERSECTBOT_ACCESS_TOKEN }}
63+
# if: ${{ env.INTERSECTBOT_ACCESS_TOKEN != '' }}
64+
# run: echo "token-set=true" >> "$GITHUB_OUTPUT"
6565

6666
debug-check-tokens:
6767
name: Debug state of check-tokens

0 commit comments

Comments
 (0)