File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change 9494 echo ""
9595 cat ~/.npm/_logs/*.log || echo "No NPM log file found"
9696
97- # ################################
98- # # ##
99- # # GitHub Package Registry ##
100- # # ##
101- # ################################
102-
103- - uses : jossef/action-set-json-field@v2.1
104- name : " Change Package Name for GitHub Package Registry"
105- with :
106- file : package.json
107- field : name
108- value : " @${{ github.repository_owner }}/${{ github.event.repository.name }}"
109-
110- - id : publish-gpr
111- name : Publish to GitHub Package Registry
112- env :
113- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
114- run : |
115- pnpm dlx npm publish --access public --registry https://npm.pkg.github.com --tag ${{ github.event.release.prerelease && 'next' || 'latest' }} --provenance
116-
117- - name : ON FAILURE - cat NPM debug log for "Publish to GitHub Package Registry"
118- if : always() && steps.publish-gpr.outcome == 'failure'
119- run : |
120- echo "ACTIONS_ID_TOKEN_REQUEST_URL: $ACTIONS_ID_TOKEN_REQUEST_URL"
121- echo "ACTIONS_ID_TOKEN_REQUEST_TOKEN is set: ${{ env.ACTIONS_ID_TOKEN_REQUEST_TOKEN != '' }}"
122- echo ""
123- echo ""
124- cat ~/.npm/_logs/*.log || echo "No NPM log file found"
125-
12697 # ##########################
12798 # # ##
12899 # # Release Artifacts ##
You can’t perform that action at this time.
0 commit comments