@@ -51,42 +51,45 @@ jobs:
51
51
- uses : actions/upload-artifact@master
52
52
if : github.event_name == 'release' && github.event.action == 'created'
53
53
with :
54
- name : Executable
54
+ name : Binaries
55
55
path : .\Matey\bin\Release
56
56
57
57
release :
58
58
if : github.event_name == 'release' && github.event.action == 'created'
59
59
needs : build
60
- runs-on : windows -latest
60
+ runs-on : ubuntu -latest
61
61
permissions : write-all
62
62
63
63
steps :
64
64
- uses : actions/download-artifact@master
65
65
with :
66
66
name : Setup
67
- path : .\ Matey.Setup\bin\Release
67
+ path : ./ Matey.Setup
68
68
69
69
- uses : actions/download-artifact@master
70
70
with :
71
- name : Executable
72
- path : .\Matey\bin\Release
71
+ name : Binaries
72
+ path : ./Matey
73
+
74
+ - name : Zip Binaries
75
+ run : cd ./Matey/net6.0 && zip -r ./Matey.zip . && cd ../../
73
76
74
77
- name : Upload Installer Artifact
75
78
uses : actions/upload-release-asset@v1
76
79
env :
77
80
GITHUB_TOKEN : ${{ github.token }}
78
81
with :
79
82
upload_url : ${{ github.event.release.upload_url }}
80
- asset_path : .\ Matey.Setup\bin\Release\ Matey.msi
83
+ asset_path : ./ Matey.Setup/ Matey.msi
81
84
asset_name : Matey.msi
82
85
asset_content_type : application/octet-stream
83
86
84
- - name : Upload Executable Artifact
87
+ - name : Upload Binaries Artifact
85
88
uses : actions/upload-release-asset@v1
86
89
env :
87
90
GITHUB_TOKEN : ${{ github.token }}
88
91
with :
89
92
upload_url : ${{ github.event.release.upload_url }}
90
- asset_path : .\ Matey\bin\Release\ net6.0\ Matey.exe
91
- asset_name : Matey.exe
92
- asset_content_type : application/octet-stream
93
+ asset_path : ./ Matey/ net6.0/ Matey.zip
94
+ asset_name : Matey.zip
95
+ asset_content_type : application/zip
0 commit comments