File tree Expand file tree Collapse file tree 2 files changed +23
-40
lines changed
Expand file tree Collapse file tree 2 files changed +23
-40
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1414 - previous
1515 default : ' patch'
1616
17+ package :
18+ required : true
19+ type : choice
20+ description : Package to release
21+ options :
22+ - qwik-nx
23+ - create-qwik-nx
24+
1725jobs :
1826 validate :
1927 runs-on : ubuntu-latest
5462 uses : ./.github/actions/setup
5563
5664 - name : Release
57- uses : ./.github/actions/release
65+ env :
66+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
67+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
68+ run : pnpx nx run ${{ inputs.package }}:version-publish --configuration=${{ inputs.type }} --push=true
69+
70+ - name : Tag last-release
71+ if : github.ref == 'refs/heads/main'
72+ shell : bash
73+ run : git tag -f last-release
74+
75+ - name : Push changes
76+ uses : ad-m/github-push-action@master
5877 with :
5978 github_token : ${{ secrets.GITHUB_TOKEN }}
60- npm_token : ${{ secrets.NPM_TOKEN }}
61- configuration : ${{ github.event.inputs.type }}
79+ branch : ${{ github.ref }}
80+ force : true
81+ tags : true
You can’t perform that action at this time.
0 commit comments