File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060 - name : Rename executable file
6161 if : ${{ startsWith(matrix.runtime, 'linux-') }}
6262 run : mv publish/SourceGit publish/sourcegit
63+ - name : Tar artifact
64+ if : ${{ startsWith(matrix.runtime, 'linux-') }}
65+ run : |
66+ tar -cvf "sourcegit.${{ matrix.runtime }}.tar" -C publish .
67+ rm -r publish/*
68+ mv "sourcegit.${{ matrix.runtime }}.tar" publish
6369 - name : Upload artifact
6470 uses : actions/upload-artifact@v4
6571 with :
Original file line number Diff line number Diff line change @@ -79,12 +79,15 @@ jobs:
7979 uses : actions/download-artifact@v4
8080 with :
8181 name : sourcegit.${{ matrix.runtime }}
82- path : build/SourceGit
82+ path : build
8383 - name : Package
8484 env :
8585 VERSION : ${{ inputs.version }}
8686 RUNTIME : ${{ matrix.runtime }}
87- run : ./build/ci/package.linux.sh
87+ run : |
88+ mkdir build/SourceGit
89+ tar -xf "build/sourcegit.${{ matrix.runtime }}.tar" -C build/SourceGit
90+ ./build/ci/package.linux.sh
8891 - name : Upload package artifacts
8992 uses : actions/upload-artifact@v4
9093 with :
You can’t perform that action at this time.
0 commit comments