Skip to content

Commit 11abbee

Browse files
author
Maurizio Branca
authored
Restore permission lost during upload/download (#589)
1 parent bc8e073 commit 11abbee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: .github/workflows/release.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ jobs:
6868
security list-keychains -s ~/Library/Keychains/apple-developer.keychain-db
6969
security unlock-keychain -p "${{ secrets.KEYCHAIN_PASSWORD }}" ~/Library/Keychains/apple-developer.keychain-db
7070
gon gon.config.hcl
71+
# GitHub's upload/download-artifact@v1 actions don't preserve file permissions,
72+
# so we need to add execution permission back until @v2 actions are released.
73+
chmod +x dist/arduino_cli_osx_darwin_amd64/arduino-cli
7174
tar -czvf dist/arduino-cli_${TAG}_macOS_64bit.tar.gz \
7275
-C dist/arduino_cli_osx_darwin_amd64/ arduino-cli \
7376
-C ../../ LICENSE.txt

0 commit comments

Comments
 (0)