chore: set MACOSX_DEPLOYMENT_TARGE to 10.9 to make the binary compatible with old madOS

This commit is contained in:
Zhao 2024-08-22 14:27:35 +08:00 committed by GitHub
parent 573ca5287f
commit 585e037dba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@ else
fi
# Build for the target
cargo build --release --locked --target "$1"
MACOSX_DEPLOYMENT_TARGE="10.9" cargo build --release --locked --target "$1"
# Create the artifact
mkdir -p "$ARTIFACT_NAME/completions"