File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 1818 required : true
1919 type : boolean
2020 default : false
21+ mark_as_latest :
22+ description : ' Mark the packages as latest'
23+ required : true
24+ type : boolean
25+ default : true
2126
2227env :
2328 NX_CLOUD_ACCESS_TOKEN : ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
@@ -60,11 +65,15 @@ jobs:
6065 - name : Build packages
6166 run : pnpm run build:packages
6267
68+ - name : Mark packages as latest
69+ if : ${{ github.event.inputs.mark_as_latest }}
70+ run : |
71+ export NX_RELEASE_TAG=latest
72+
6373 - name : Publish packages to NPM
6474 env :
6575 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
6676 run : |
67- export NX_RELEASE_TAG=latest
6877 pnpm nx run-many -t nx-release-publish --projects=${{ github.event.inputs.packages }}
6978
7079 - name : Create and push tags
You can’t perform that action at this time.
0 commit comments