diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 864ec25..9b42489 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,12 +4,16 @@ on: release: types: [published] +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: false + jobs: build-release: runs-on: ${{ matrix.operating-system }} strategy: matrix: - operating-system: [ubuntu-latest, windows-latest, macos-latest] + operating-system: [ubuntu-20.04, windows-2019, macos-12] env: pact_do_not_track: true steps: diff --git a/release.sh b/release.sh index fc2ee9c..049054f 100755 --- a/release.sh +++ b/release.sh @@ -44,8 +44,9 @@ case "$1" in openssl dgst -sha256 -r target/artifacts/pact-protobuf-plugin-macos-x86_64.gz > target/artifacts/pact-protobuf-plugin-macos-x86_64.gz.sha256 # M1 - export SDKROOT=$(xcrun -sdk macosx11.1 --show-sdk-path) - export MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.1 --show-sdk-platform-version) + # export SDKROOT=$(xcrun -sdk macosx11.1 --show-sdk-path) + # export MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.1 --show-sdk-platform-version) + export MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET:-12} cargo build --target aarch64-apple-darwin --release gzip -c target/aarch64-apple-darwin/release/pact-protobuf-plugin > target/artifacts/pact-protobuf-plugin-osx-aarch64.gz @@ -58,4 +59,3 @@ case "$1" in exit 1 ;; esac -