@@ -44,13 +44,13 @@ jobs:
44
44
run : dotnet build -c Release
45
45
- name : Publish
46
46
run : dotnet publish src/SourceGit.csproj -c Release -o publish -r osx-x64 -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained
47
- - name : Allow Executing File as Program
48
- run : chmod +x publish/Sourcegit
47
+ - name : Packing Program
48
+ run : tar -cvf sourcegit.osx-x64.tar publish/
49
49
- name : Upload Artifact
50
50
uses : actions/upload-artifact@v4
51
51
with :
52
52
name : sourcegit.osx-x64
53
- path : publish
53
+ path : sourcegit.osx-x64.tar
54
54
build-macos-arm64 :
55
55
name : Build macOS (Apple Silicon)
56
56
runs-on : macos-latest
@@ -67,13 +67,13 @@ jobs:
67
67
run : dotnet build -c Release
68
68
- name : Publish
69
69
run : dotnet publish src/SourceGit.csproj -c Release -o publish -r osx-arm64 -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained
70
- - name : Allow Executing File as Program
71
- run : chmod +x publish/Sourcegit
70
+ - name : Packing Program
71
+ run : tar -cvf sourcegit.osx-arm64.tar publish/
72
72
- name : Upload Artifact
73
73
uses : actions/upload-artifact@v4
74
74
with :
75
75
name : sourcegit.osx-arm64
76
- path : publish
76
+ path : sourcegit.osx-arm64.tar
77
77
build-linux :
78
78
name : Build Linux
79
79
runs-on : ubuntu-latest
@@ -92,10 +92,10 @@ jobs:
92
92
run : dotnet publish src/SourceGit.csproj -c Release -o publish -r linux-x64 -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained
93
93
- name : Rename Executable File
94
94
run : mv publish/SourceGit publish/sourcegit
95
- - name : Allow Executing File as Program
96
- run : chmod +x publish/sourcegit
95
+ - name : Packing Program
96
+ run : tar -cvf sourcegit.linux-x64.tar publish/
97
97
- name : Upload Artifact
98
98
uses : actions/upload-artifact@v4
99
99
with :
100
100
name : sourcegit.linux-x64
101
- path : publish
101
+ path : sourcegit.linux-x64.tar
0 commit comments