File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and Release
2
+ on :
3
+ release :
4
+ types : [published]
5
+
6
+ jobs :
7
+ build_and_release :
8
+ name : Build and release
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout code
12
+ uses : actions/checkout@v2
13
+ - name : Setup Node.js
14
+ uses : actions/setup-node@v2
15
+ with :
16
+ node-version : 12.9.1
17
+ cache : ' npm'
18
+ - name : Setup dependencies
19
+ run : |
20
+ npm ci
21
+ npm i -g nexe
22
+ - name : Build artifacts
23
+ run : make
24
+ - name : Release artifacts
25
+ uses : ncipollo/release-action@v1
26
+ with :
27
+ artifacts : ' kubeopenapi-jsonschema*'
28
+ allowUpdates : true
29
+ omitBodyDuringUpdate : true
30
+ omitNameDuringUpdate : true
31
+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 8
8
9
9
windows :
10
10
nexe index.js -t windows-x64 -o kubeopenapi-jsonschema -r " ./node_modules/**/*"
11
+
12
+ alpine :
13
+ nexe index.js -t alpine-x64 -o kubeopenapi-jsonschema -r " ./node_modules/**/*"
You can’t perform that action at this time.
0 commit comments