File tree Expand file tree Collapse file tree 1 file changed +1
-37
lines changed Expand file tree Collapse file tree 1 file changed +1
-37
lines changed Original file line number Diff line number Diff line change 5555 name : build-artifact
5656 path : dist
5757 overwrite : true
58- release_npm :
59- name : Publish to npm
60- needs : release
61- runs-on : ubuntu-latest
62- permissions :
63- contents : read
64- issues : write
65- steps :
66- - uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444
67- with :
68- node-version : 18.x
69- - name : Download build artifacts
70- uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0
71- with :
72- name : build-artifact
73- path : dist
74- - name : Restore build artifact permissions
75- run : cd dist && setfacl --restore=permissions-backup.acl
76- continue-on-error : true
77- - name : Publish to npm with provenance
78- env :
79- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
80- run : |
81- cd dist/js
82- npm publish --provenance --access public --tag latest
83- - name : Extract Version
84- id : extract-version
85- if : ${{ failure() }}
86- run : echo "VERSION=$(cat dist/version.txt)" >> "${GITHUB_OUTPUT}"
87- - name : Create Issue
88- if : ${{ failure() }}
89- uses : imjohnbo/issue-bot@572eed14422c4d6ca37e870f97e7da209422f5bd
90- with :
91- labels : failed-release
92- title : Publishing v${{ steps.extract-version.outputs.VERSION }} to npm failed
93- body : See https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
94-
58+
9559 release_pypi :
9660 name : Publish to PyPI
9761 needs : release
You can’t perform that action at this time.
0 commit comments