From 912cc6b2fdc2f82aff492610b2858495bd507c6e Mon Sep 17 00:00:00 2001 From: Umberto Baldi Date: Fri, 23 Apr 2021 16:22:56 +0200 Subject: [PATCH] fix CI not setting executable permission to mac binary --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cb367c19..b350b1f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -86,6 +86,9 @@ jobs: - name: Re-package binary and update checksum # Repackage the signed binary replaced in place by Gon (ignoring the output zip file) run: | + # GitHub's upload/download-artifact@v2 actions don't preserve file permissions, + # so we need to add execution permission back. + chmod +x dist/macos64/FirmwareUploader TAG=${GITHUB_REF/refs\/tags\//} tar cjf dist/FirmwareUploader_${TAG}_macOS_64bit.tar.bz2 \ firmwares \