mirror of
https://github.com/xHyroM/zed-discord-presence.git
synced 2024-11-22 14:11:04 +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
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
@ -73,8 +73,13 @@ jobs:
|
||||||
tar -czvf "${ARCHIVE_PATH}" -C "tmp/${ARCHIVE_NAME}" .
|
tar -czvf "${ARCHIVE_PATH}" -C "tmp/${ARCHIVE_NAME}" .
|
||||||
else
|
else
|
||||||
ARCHIVE_PATH="tmp/${ARCHIVE_NAME}.zip"
|
ARCHIVE_PATH="tmp/${ARCHIVE_NAME}.zip"
|
||||||
|
|
||||||
|
if [[ "${{ matrix.runner }}" == "windows-latest" ]]; then
|
||||||
|
7z a "${ARCHIVE_PATH}" "tmp/${ARCHIVE_NAME}"
|
||||||
|
else
|
||||||
zip -r "${ARCHIVE_PATH}" "tmp/${ARCHIVE_NAME}"
|
zip -r "${ARCHIVE_PATH}" "tmp/${ARCHIVE_NAME}"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
echo "archive_name=${ARCHIVE_NAME}" >> $GITHUB_OUTPUT
|
echo "archive_name=${ARCHIVE_NAME}" >> $GITHUB_OUTPUT
|
||||||
echo "archive_path=${ARCHIVE_PATH}" >> $GITHUB_OUTPUT
|
echo "archive_path=${ARCHIVE_PATH}" >> $GITHUB_OUTPUT
|
||||||
|
|
Loading…
Reference in a new issue