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 14
14
- previous
15
15
default : ' patch'
16
16
17
+ package :
18
+ required : true
19
+ type : choice
20
+ description : Package to release
21
+ options :
22
+ - qwik-nx
23
+ - create-qwik-nx
24
+
17
25
jobs :
18
26
validate :
19
27
runs-on : ubuntu-latest
54
62
uses : ./.github/actions/setup
55
63
56
64
- 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
58
77
with :
59
78
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