File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,14 @@ jobs:
2727 node-version : 24
2828 cache : " npm"
2929 cache-dependency-path : package-lock.json
30-
31- - name : Publish
32- run : ' [[ ${{ github.ref_name }} =~ ^(.*)-[0-9]+\.[0-9]+\.[0-9]+$ ]] && export PROJECT="${BASH_REMATCH[1]}" && npx nx release publish --projects $PROJECT --verbose'
30+ - name : Get Release Projects
31+ id : get_release_project
32+ env :
33+ TAG : ${{ github.ref_name }}
34+ run : ' [[ ${{ github.ref_name }} =~ ^(.*)-[0-9]+\.[0-9]+\.[0-9]+$ ]] && export PROJECT="${BASH_REMATCH[1]}" && echo "release_project=${BASH_REMATCH[1]}" >> $GITHUB_OUTPUT'
3335 shell : bash
36+ - name : Publish
37+ run : npx nx release publish --projects ${{ steps.get_release_project.outputs.release_project }} --verbose'
3438 env :
3539 NPM_CONFIG_PROVENANCE : true
3640 NPM_CONFIG_ACCESS : public
Original file line number Diff line number Diff line change 4646 "command" : " uv build" ,
4747 "cwd" : " {projectRoot}"
4848 }
49+ },
50+ "nx-release-publish" : {
51+ "executor" : " nx:run-commands" ,
52+ "inputs" : [" default" ],
53+ "options" : {
54+ "commands" : [" uv build --package sftkit" , " uv publish" ],
55+ "parallel" : false
56+ }
4957 }
5058 }
5159}
You can’t perform that action at this time.
0 commit comments