File tree 3 files changed +32
-36
lines changed
3 files changed +32
-36
lines changed Original file line number Diff line number Diff line change 1
1
.gitattributes export-ignore
2
- /bin export-ignore
2
+ .github export-ignore
3
+ .gitignore export-ignore
Original file line number Diff line number Diff line change
1
+ name : Generate Installable Plugin, and Upload as Release Asset
2
+ on :
3
+ release :
4
+ types : [published]
5
+ jobs :
6
+ build :
7
+ name : Upload Release Asset
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Checkout code
11
+ uses : actions/checkout@v2
12
+ - name : setup git config
13
+ run : |
14
+ git config user.name "GitHub Actions Bot"
15
+ git config user.email "<>"
16
+ - name : Create artifact
17
+ run : |
18
+ git archive -o ${{ github.event.repository.name }}-${{ github.ref_name }}.zip --prefix ${{ github.event.repository.name }}/ HEAD
19
+ ls
20
+ - name : Upload artifact
21
+ uses : actions/upload-artifact@v2
22
+ with :
23
+ name : ${{ github.event.repository.name }}-${{ github.ref_name }}
24
+ path : ${{ github.event.repository.name }}-${{ github.ref_name }}.zip
25
+ - name : Upload to release
26
+ uses : JasonEtco/upload-to-release@master
27
+ with :
28
+ args : ${{ github.event.repository.name }}-${{ github.ref_name }}.zip application/zip
29
+ env :
30
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments