File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,10 @@ jobs:
34
34
run : pdm sync -d
35
35
36
36
- name : Publish
37
- run : ' npx nx build components && cd dist/web/components && npm publish --provenance '
37
+ run : ' [[ ${{ github.ref_name }} =~ ^(.*)-[0-9]+\.[0-9]+\.[0-9]+$ ]] && export PROJECT="${BASH_REMATCH[1]}" && npx nx release publish --projects $PROJECT --verbose '
38
38
shell : bash
39
39
env :
40
40
NODE_AUTH_TOKEN : ${{ secrets.NPM_ACCESS_TOKEN }}
41
41
NPM_CONFIG_PROVENANCE : true
42
-
43
- # - name: Publish
44
- # run: '[[ ${{ github.ref_name }} =~ ^(.*)-[0-9]+\.[0-9]+\.[0-9]+$ ]] && export PROJECT="${BASH_REMATCH[1]}" && npx nx release publish --projects $PROJECT --verbose'
45
- # shell: bash
46
- # env:
47
- # NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
48
- # NPM_CONFIG_PROVENANCE: true
49
- # PDM_PUBLISH_USERNAME: __token__
50
- # PDM_PUBLISH_PASSWORD: ${{ secrets.PYPI_ACCESS_TOKEN }}
42
+ PDM_PUBLISH_USERNAME : __token__
43
+ PDM_PUBLISH_PASSWORD : ${{ secrets.PYPI_ACCESS_TOKEN }}
You can’t perform that action at this time.
0 commit comments