Commit fee5100 1 parent 63ddc9c commit fee5100 Copy full SHA for fee5100
File tree 1 file changed +21
-25
lines changed
1 file changed +21
-25
lines changed Original file line number Diff line number Diff line change 1
- name : Create Release on Tag Push
2
-
3
- on :
4
- push :
1
+ name : Create package.zip 3
2
+ on :
3
+ push :
5
4
tags :
6
- - " v*"
7
-
5
+ - " *"
8
6
jobs :
9
7
build :
10
8
runs-on : ubuntu-latest
11
9
steps :
12
- # Checkout
13
- - name : Checkout
14
- uses : actions/checkout@v3
15
-
16
- - name : Package zip
17
- uses : vimtor/action-zip@v1
18
- with :
19
- files : icon.png index.css index.js plugin.json preview.png README.md README_zh_CN.md LXGWWenKaiGB-Regular.woff Twemoji-15.1.0.ttf
20
- dest : package.zip
21
-
10
+ - uses : actions/checkout@master
11
+ - name : Archive Release
12
+ uses :
thedoctor0/[email protected]
13
+ with :
14
+ type : ' zip'
15
+ filename : ' package.zip'
16
+ exclusions : ' *.git* /*LICENSE /*OFL.txt'
22
17
23
- - name : Release
24
- uses : ncipollo/release-action@v1
25
- with :
26
- allowUpdates : true
27
- artifactErrorsFailBuild : true
28
- artifacts : " package.zip"
29
- token : ${{ secrets.GITHUB_TOKEN }}
30
- prerelease : true
31
- makeLatest : false
18
+ - name : Upload Release
19
+ uses : ncipollo/release-action@v1
20
+ with :
21
+ allowUpdates : true
22
+ prerelease : true
23
+ artifactErrorsFailBuild : true
24
+ removeArtifacts : false
25
+ replacesArtifacts : false
26
+ artifacts : " package.zip"
27
+ token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments