File tree 1 file changed +49
-0
lines changed
1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Make a release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - v*.*.*
7
+
8
+ jobs :
9
+ build :
10
+
11
+ runs-on : ubuntu-latest
12
+
13
+ strategy :
14
+ matrix :
15
+ node-version : [16.x]
16
+
17
+ steps :
18
+ - name : Checkout repository
19
+ uses : actions/checkout@v2
20
+
21
+ - name : Set up Node.js ${{ matrix.node-version }}
22
+ uses : actions/setup-node@v1
23
+ with :
24
+ node-version : ${{ matrix.node-version }}
25
+
26
+ - name : Install dependencies
27
+ run : npm ci
28
+
29
+ - name : Build
30
+ run : npm run make
31
+
32
+ - name : Remove Settings
33
+ run : rm -rf build/*.json
34
+
35
+ - name : Compress Artifacts
36
+ run : tar -cvf apps-$GITHUB_REF_NAME.tar build
37
+
38
+ - name : Upload Artifact
39
+ uses : actions/upload-artifact@v2
40
+ with :
41
+ name : apps
42
+ path : apps-$GITHUB_REF_NAME.tar
43
+
44
+ - name : Upload Artifacts to release page
45
+ uses : softprops/action-gh-release@v1
46
+ with :
47
+ files : apps-$GITHUB_REF_NAME.tar
48
+ env :
49
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments