mirror of
https://github.com/xHyroM/zed-discord-presence.git
synced 2024-11-14 02:18:09 +01:00
ci: add directory files to tar
This commit is contained in:
parent
c15591ffe9
commit
10ab77963a
1 changed files with 3 additions and 3 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -73,13 +73,13 @@ jobs:
|
||||||
|
|
||||||
if [[ "${{ matrix.archive }}" == "tar.gz" ]]; then
|
if [[ "${{ matrix.archive }}" == "tar.gz" ]]; then
|
||||||
ARCHIVE_PATH="tmp/${ARCHIVE_NAME}.tar.gz"
|
ARCHIVE_PATH="tmp/${ARCHIVE_NAME}.tar.gz"
|
||||||
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"
|
||||||
zip -r "${ARCHIVE_PATH}" -C "tmp/${ARCHIVE_NAME}"
|
zip -r "${ARCHIVE_PATH}" "tmp/${ARCHIVE_NAME}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "archive_name=${ARCHIVE_NAME}"
|
echo "archive_name=${ARCHIVE_NAME}" >> $GITHUB_OUTPUT
|
||||||
echo "archive_path=${ARCHIVE_PATH}" >> $GITHUB_OUTPUT
|
echo "archive_path=${ARCHIVE_PATH}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: upload artifact
|
- name: upload artifact
|
||||||
|
|
Loading…
Reference in a new issue