File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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
47
- name : Packing Program
48
- run : tar -cvf sourcegit.osx-x64.tar publish/
48
+ run : tar -cvf sourcegit.osx-x64.tar -C publish/ .
49
49
- name : Upload Artifact
50
50
uses : actions/upload-artifact@v4
51
51
with :
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
70
- name : Packing Program
71
- run : tar -cvf sourcegit.osx-arm64.tar publish/
71
+ run : tar -cvf sourcegit.osx-arm64.tar -C publish/ .
72
72
- name : Upload Artifact
73
73
uses : actions/upload-artifact@v4
74
74
with :
93
93
- name : Rename Executable File
94
94
run : mv publish/SourceGit publish/sourcegit
95
95
- name : Packing Program
96
- run : tar -cvf sourcegit.linux-x64.tar publish/
96
+ run : tar -cvf sourcegit.linux-x64.tar -C publish/ .
97
97
- name : Upload Artifact
98
98
uses : actions/upload-artifact@v4
99
99
with :
You can’t perform that action at this time.
0 commit comments