ci: don't tar the artifacts since GitHub will archive it anyway

This commit is contained in:
Aikawa Yataro
2024-08-02 15:06:42 +00:00
parent 0492f8e75e
commit 08aa96f1c5

View File

@@ -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