File tree 3 files changed +31
-12
lines changed
typescript/.github/workflows 3 files changed +31
-12
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,13 @@ jobs:
27
27
runs-on : ubuntu-latest
28
28
needs : build
29
29
steps :
30
- -
31
- name : Checkout
30
+ - name : Checkout
32
31
uses : actions/checkout@v4
33
- -
34
- name : Set up JDK
32
+ - name : Create GitHub Release
33
+ uses : ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5 # pin@v1.13.0
34
+ with :
35
+ tag : ${{github.event.release.tag_name}}
36
+ - name : Set up JDK
35
37
uses : actions/setup-java@v2
36
38
with :
37
39
java-version : ' 8'
Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ tags :
4
+ - ' *'
5
+ jobs :
6
+ release :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v4
10
+ - name : Create GitHub Release
11
+ uses : ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5 # pin@v1.13.0
12
+ with :
13
+ tag : ${{github.event.release.tag_name}}
Original file line number Diff line number Diff line change 1
1
# https://help.github.com/en/actions/language-and-framework-guides/publishing-nodejs-packages
2
- name : Package
2
+ name : Release
3
3
on :
4
- release :
5
- types : [created]
4
+ push :
5
+ tags :
6
+ - ' *'
6
7
jobs :
7
- build :
8
+ release :
8
9
runs-on : ubuntu-latest
9
10
steps :
10
- - uses : actions/checkout@v2
11
-
12
- - uses : actions/setup-node@v1
11
+ - uses : actions/checkout@v4
12
+ - name : Create GitHub Release
13
+ uses : ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5 # pin@v1.13.0
14
+ with :
15
+ tag : ${{github.event.release.tag_name}}
16
+ - uses : actions/setup-node@v4
13
17
with :
14
- node-version : ' 12.x '
18
+ node-version : ' 18 '
15
19
registry-url : ' https://registry.npmjs.org/'
16
20
- run : npm install
17
21
- run : npm publish --access public
You can’t perform that action at this time.
0 commit comments