mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-30 13:51:53 +08:00
ci: don't tar the artifacts since GitHub will archive it anyway
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -61,11 +61,8 @@ jobs:
|
||||
- name: Rename executable file
|
||||
if: ${{ startsWith(matrix.runtime, 'linux-') }}
|
||||
run: mv publish/SourceGit publish/sourcegit
|
||||
- name: Package program
|
||||
if: ${{ ! startsWith(matrix.runtime, 'win-') }}
|
||||
run: tar -cvf sourcegit.${{ matrix.runtime }}.tar -C publish/ .
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: sourcegit.${{ matrix.runtime }}
|
||||
path: ${{ startsWith(matrix.runtime, 'win-') && 'publish' || format('sourcegit.{0}.tar', matrix.runtime) }}
|
||||
path: publish
|
||||
|
||||
Reference in New Issue
Block a user