mirror of
https://github.com/xHyroM/zed-discord-presence.git
synced 2024-11-09 16:08:06 +01:00
ci: use 7z on windows
yes, windows... must be different :)
This commit is contained in:
parent
9be3d1dc7a
commit
eb3ed250fc
1 changed files with 6 additions and 1 deletions
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
@ -73,7 +73,12 @@ jobs:
|
|||
tar -czvf "${ARCHIVE_PATH}" -C "tmp/${ARCHIVE_NAME}" .
|
||||
else
|
||||
ARCHIVE_PATH="tmp/${ARCHIVE_NAME}.zip"
|
||||
zip -r "${ARCHIVE_PATH}" "tmp/${ARCHIVE_NAME}"
|
||||
|
||||
if [[ "${{ matrix.runner }}" == "windows-latest" ]]; then
|
||||
7z a "${ARCHIVE_PATH}" "tmp/${ARCHIVE_NAME}"
|
||||
else
|
||||
zip -r "${ARCHIVE_PATH}" "tmp/${ARCHIVE_NAME}"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "archive_name=${ARCHIVE_NAME}" >> $GITHUB_OUTPUT
|
||||
|
|
Loading…
Reference in a new issue