replace macos-latest with macos-13

`macos-latest` is now an alias for `macos-14` which runs on apple silicon
This commit is contained in:
Mohamed Daahir 2024-04-28 22:20:31 +01:00
parent 0c335ac26a
commit cf34e85e71
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ jobs:
os: ubuntu-latest
flags: --no-default-features --features=native-tls,online-tests # disables rustls
- target: x86_64-apple-darwin
os: macos-latest
os: macos-13
flags: --features=native-tls
- target: aarch64-apple-darwin
os: macos-14

View File

@ -19,7 +19,7 @@ jobs:
os: ubuntu-latest
flags: --no-default-features --features=native-tls,online-tests # disables rustls
- target: x86_64-apple-darwin
os: macos-latest
os: macos-13
flags: --features=native-tls
- target: aarch64-apple-darwin
os: macos-14
@ -70,7 +70,7 @@ jobs:
- os: ubuntu-latest
target: x86_64-unknown-linux-musl
use-cross: true
- os: macos-latest
- os: macos-13
target: x86_64-apple-darwin
flags: --features=native-tls
- os: macos-14
@ -127,7 +127,7 @@ jobs:
if [ "${{ matrix.job.os }}" = "windows-latest" ]; then
7z a "$staging.zip" $staging
elif [ "${{ matrix.job.os }}" = "macos-latest" ]; then
elif [[ "${{ matrix.job.os }}" =~ "macos" ]]; then
gtar czvf "$staging.tar.gz" $staging
else
tar czvf "$staging.tar.gz" $staging