ci: chmod +x macos binaries

This commit is contained in:
hinto.janai 2023-07-15 11:10:32 -04:00
parent aa1b3717da
commit 4b854d4fa7
No known key found for this signature in database
GPG key ID: D47CE05FA175A499

View file

@ -51,6 +51,8 @@ jobs:
if [ "$RUNNER_OS" == "macOS" ]; then if [ "$RUNNER_OS" == "macOS" ]; then
cargo bundle --all-features --release cargo bundle --all-features --release
cargo bundle --all-features --release --target aarch64-apple-darwin cargo bundle --all-features --release --target aarch64-apple-darwin
chmod +x target/release/bundle/osx/Gupax.app/Contents/MacOS/gupax
chmod +x target/aarch64-apple-darwin/release/bundle/osx/Gupax.app/Contents/MacOS/gupax
elif [ "$RUNNER_OS" == "Linux" ]; then elif [ "$RUNNER_OS" == "Linux" ]; then
cargo build --all-features --release --target x86_64-unknown-linux-gnu cargo build --all-features --release --target x86_64-unknown-linux-gnu
else else