From 018d4ea630a5319f43f4f1bb0a29ffdc57ad9fa9 Mon Sep 17 00:00:00 2001 From: Zorg Date: Sat, 6 Mar 2021 22:14:27 -0800 Subject: [PATCH] Reference relative path --- .github/workflows/ci.yml | 4 ++-- Configurations/make-release-package.sh | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4a46463..37dc6a58 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,5 +54,5 @@ jobs: if: success() uses: actions/upload-artifact@v2 with: - name: Sparkle-dist - path: /tmp/sparkle-dist.tar.xz + name: Sparkle-distribution.tar.xz + path: build/Build/Products/Release/sparkle-dist.tar.xz diff --git a/Configurations/make-release-package.sh b/Configurations/make-release-package.sh index 40e9460e..f6e1682f 100755 --- a/Configurations/make-release-package.sh +++ b/Configurations/make-release-package.sh @@ -82,8 +82,7 @@ if [ "$ACTION" = "" ] ; then find . \! -type d | rev | sort | rev | tar cv --files-from=- | xz -9 > "../Sparkle-$CURRENT_PROJECT_VERSION.tar.xz" # Copy archived distribution for CI - rm -f "/tmp/sparkle-dist.tar.xz" - cp "../Sparkle-$CURRENT_PROJECT_VERSION.tar.xz" "/tmp/sparkle-dist.tar.xz" + cp -f "../Sparkle-$CURRENT_PROJECT_VERSION.tar.xz" "../sparkle-dist.tar.xz" # Extract archive for testing binary validity tar -xf "../Sparkle-$CURRENT_PROJECT_VERSION.tar.xz" -C "/tmp/sparkle-extract"