File tree Expand file tree Collapse file tree 1 file changed +9
-15
lines changed
Expand file tree Collapse file tree 1 file changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -384,24 +384,18 @@ jobs:
384384 prerelease : true
385385 tag : v${{ env.VERSION_PREFIX }}${{ env.VERSION_SUFFIX }}.${{ github.run_number }}
386386
387- # pre-publish-forum:
388- # name: Prepare to Publish to Forum
389- # if: inputs.workflowDebug != true && inputs.packagingDebug != true && inputs.skipForumPublish != true
390- # needs: publish-github
391- # runs-on: ubuntu-latest
392- # outputs:
393- # skip: ${{ steps.secret-check.outputs.skip }}
394- # steps:
395- # - id: secret-check
396- # name: Check secrets
397- # run: echo "skip=${{" >> "$GITHUB_OUTPUT"
387+ pre-publish-forum :
388+ name : Prepare to Publish to Forum
389+ if : inputs.workflowDebug != true && inputs.packagingDebug != true && inputs.skipForumPublish != true
390+ needs : publish-github
391+ runs-on : ubuntu-latest
392+ outputs :
393+ skip : ${{ secrets.INTERSECTBOT_ACCESS_TOKEN != '' }}
398394
399395 publish-forum :
400396 name : Publish to Forum
401- env :
402- has_forum_token_secret : ${{ secrets.INTERSECTBOT_ACCESS_TOKEN != '' }}
403- if : inputs.workflowDebug != true && inputs.packagingDebug != true && inputs.skipForumPublish != true && env.has_forum_token_secret
404- needs : publish-github
397+ if : inputs.workflowDebug != true && inputs.packagingDebug != true && inputs.skipForumPublish != true && needs.pre-publish-forum.outputs.skip != true
398+ needs : pre-publish-forum
405399 runs-on : ubuntu-latest
406400 steps :
407401 - name : Publish to Forum
You can’t perform that action at this time.
0 commit comments