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"