File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -42,15 +42,16 @@ jobs:
42
42
run : echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
43
43
44
44
- name : Compress & Rename bin folder
45
- run : |
46
- mv release/ psplinkusb/
47
- tar -zcvf psplinkusb-${{ steps.slug.outputs.sha8 }}.tar.gz psplinkusb
45
+ run : |
46
+ tar -zcvf psplinkusb.tar.gz release/psplink
48
47
49
48
- name : Create pre-release
50
49
if : github.ref == 'refs/heads/master'
51
50
uses : softprops/action-gh-release@v1
52
51
with :
53
- files : psplinkusb-${{ steps.slug.outputs.sha8 }}.tar.gz
52
+ files : |
53
+ psplinkusb.tar.gz
54
+ release/psplink_manual.pdf
54
55
prerelease : true
55
56
name : " Development build"
56
57
tag_name : " latest"
61
62
if : startsWith(github.ref, 'refs/tags/')
62
63
uses : softprops/action-gh-release@v1
63
64
with :
64
- files : psplinkusb-${{ steps.slug.outputs.sha8 }}.tar.gz
65
+ files : |
66
+ psplinkusb.tar.gz
67
+ release/psplink_manual.pdf
65
68
tag_name : ${{ steps.tag.outputs.VERSION }}
66
69
env :
67
70
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments