mirror of
https://github.com/xHyroM/zed-discord-presence.git
synced 2024-12-28 23:11:06 +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
|
||||
ARCHIVE_PATH="tmp/${ARCHIVE_NAME}.tar.gz"
|
||||
tar -czvf "${ARCHIVE_PATH}" -C "tmp/${ARCHIVE_NAME}"
|
||||
tar -czvf "${ARCHIVE_PATH}" -C "tmp/${ARCHIVE_NAME}" .
|
||||
else
|
||||
ARCHIVE_PATH="tmp/${ARCHIVE_NAME}.zip"
|
||||
zip -r "${ARCHIVE_PATH}" -C "tmp/${ARCHIVE_NAME}"
|
||||
zip -r "${ARCHIVE_PATH}" "tmp/${ARCHIVE_NAME}"
|
||||
fi
|
||||
|
||||
echo "archive_name=${ARCHIVE_NAME}"
|
||||
echo "archive_name=${ARCHIVE_NAME}" >> $GITHUB_OUTPUT
|
||||
echo "archive_path=${ARCHIVE_PATH}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: upload artifact
|
||||
|
|
Loading…
Reference in a new issue