mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-02 17:44:59 +00:00
ci: tar artifact to keep permissions
This commit is contained in:
parent
073b5aaf9e
commit
822d6ec88e
2 changed files with 11 additions and 2 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -60,6 +60,12 @@ jobs:
|
|||
- name: Rename executable file
|
||||
if: ${{ startsWith(matrix.runtime, 'linux-') }}
|
||||
run: mv publish/SourceGit publish/sourcegit
|
||||
- name: Tar artifact
|
||||
if: ${{ startsWith(matrix.runtime, 'linux-') }}
|
||||
run: |
|
||||
tar -cvf "sourcegit.${{ matrix.runtime }}.tar" -C publish .
|
||||
rm -r publish/*
|
||||
mv "sourcegit.${{ matrix.runtime }}.tar" publish
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue