Skip to content

Commit 873660f

Browse files
authored
fix CI not setting executable permission to mac binary (#22)
1 parent 6e78509 commit 873660f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: .github/workflows/release.yml

+3
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ jobs:
8686
- name: Re-package binary and update checksum
8787
# Repackage the signed binary replaced in place by Gon (ignoring the output zip file)
8888
run: |
89+
# GitHub's upload/download-artifact@v2 actions don't preserve file permissions,
90+
# so we need to add execution permission back.
91+
chmod +x dist/macos64/FirmwareUploader
8992
TAG=${GITHUB_REF/refs\/tags\//}
9093
tar cjf dist/FirmwareUploader_${TAG}_macOS_64bit.tar.bz2 \
9194
firmwares \

0 commit comments

Comments
 (0)