File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,18 +40,17 @@ jobs:
4040
4141 - name : Publish to GitHub Packages
4242 if : steps.npm_publish.outputs.type != 'none'
43+ continue-on-error : true
4344 run : |
44- echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
45- npm publish --registry=https://npm.pkg.github.com || true
46- env :
47- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45+ npm config set //npm.pkg.github.com/:_authToken "${{ secrets.GITHUB_TOKEN }}"
46+ npm publish --registry=https://npm.pkg.github.com
4847
4948 - name : Create GitHub Release & Tag
5049 if : steps.npm_publish.outputs.type != 'none'
5150 uses : softprops/action-gh-release@v2
5251 with :
53- tag_name : " v${{ steps.npm_publish.outputs.version }}"
54- name : " Release v${{ steps.npm_publish.outputs.version }}"
52+ tag_name : ' v${{ steps.npm_publish.outputs.version }}'
53+ name : ' Release v${{ steps.npm_publish.outputs.version }}'
5554 generate_release_notes : true
5655 env :
5756 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments