This repository was archived by the owner on Jul 2, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 - name : Build
4646 run : npm run build
4747
48- - name : Determine npm dist-tag
49- uses : salesforcecli/github-workflows/.github/actions/getPreReleaseTag@main
50- id : distTag
51-
5248 - name : Publish to npm
53- run : npm publish --access public --tag ${{ inputs.distTag || steps.distTag.outputs.tag }}
49+ run : npm publish --access public --tag ${{ inputs.distTag }}
5450 env :
5551 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1616 getDistTag :
1717 outputs :
1818 tag : ${{ steps.distTag.outputs.tag }}
19- gitTag : ${{ github.event.release.tag_name || inputs.tag }}
2019 runs-on : ubuntu-latest
2120 steps :
2221 - uses : actions/checkout@v4
2928 uses : ./.github/workflows/npm-publish.yml
3029 needs : [getDistTag]
3130 with :
32- tag : ${{ needs.getDistTag.outputs.gitTag }}
33- distTag : ${{ needs.getDistTag.outputs.tag }}
31+ tag : ${{ github.event.release.tag_name || inputs.tag }}
32+ distTag : ${{ needs.getDistTag.outputs.tag || 'latest' }}
3433 nodeVersion : ' lts/*'
3534 secrets : inherit
You can’t perform that action at this time.
0 commit comments