File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -29,14 +29,30 @@ jobs:
29
29
- name : Build project
30
30
run : dotnet build ZXBasicStudio.sln --configuration Release --no-restore
31
31
32
- - name : Publish single executable
32
+ - name : Publish for Linux
33
33
run : |
34
34
dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r linux-x64 --self-contained true -p:PublishSingleFile=true -o out
35
35
36
- - name : Pack files
37
- run : zip -9 -r ZXBasicStudio-linux-x64.zip ~/work/ZXBasicStudio/ZXBasicStudio/out/
38
-
36
+ - name : Publish for Windows
37
+ run : |
38
+ dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -o out-win
39
+
40
+ - name : Publish for Mac
41
+ run : |
42
+ dotnet publish ZXBStudio/ZXBasicStudio.csproj -c Release -r osx-x64 --self-contained true -p:PublishSingleFile=true -o out-mac
43
+
39
44
- uses : actions/upload-artifact@v4
40
45
with :
41
46
name : ZXBasicStudio-linux-x64
42
- path : ZXBasicStudio-linux-x64.zip
47
+ path : ~/work/ZXBasicStudio/ZXBasicStudio/out/
48
+
49
+ - uses : actions/upload-artifact@v4
50
+ with :
51
+ name : ZXBasicStudio-win-x64
52
+ path : ~/work/ZXBasicStudio/ZXBasicStudio/out-win/
53
+
54
+ - uses : actions/upload-artifact@v4
55
+ with :
56
+ name : ZXBasicStudio-osx-x64
57
+ path : ~/work/ZXBasicStudio/ZXBasicStudio/out-mac/
58
+
You can’t perform that action at this time.
0 commit comments