File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -384,9 +384,23 @@ 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"
398+
387399 publish-forum :
388400 name : Publish to Forum
389- if : ${{ inputs.workflowDebug != true && inputs.packagingDebug != true && inputs.skipForumPublish != true && secrets.INTERSECTBOT_ACCESS_TOKEN != '' }}
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
390404 needs : publish-github
391405 runs-on : ubuntu-latest
392406 steps :
You can’t perform that action at this time.
0 commit comments