From 1250d2cfff6f1b3cdc6fa317e4063b0866d8194a Mon Sep 17 00:00:00 2001 From: Hannah Shi Date: Sat, 27 Apr 2024 12:09:40 -0700 Subject: [PATCH] revert to macos-12 for release so to skip pod lint --- .github/workflows/prod_release_cocoapod.yml | 10 +++++----- scripts/prepare_env.sh | 1 + scripts/release_cocoapod.sh | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/prod_release_cocoapod.yml b/.github/workflows/prod_release_cocoapod.yml index bcb3b35760..e3744c75fb 100644 --- a/.github/workflows/prod_release_cocoapod.yml +++ b/.github/workflows/prod_release_cocoapod.yml @@ -10,7 +10,7 @@ env: TAG: ${{ github.event.release.tag_name }} jobs: release-cocoapod-gRPC-Core: - runs-on: macos-14 + runs-on: macos-12 steps: - name: Repo checkout uses: actions/checkout@v3 @@ -28,7 +28,7 @@ jobs: version=${TAG#v} timeout 1h scripts/wait_for_pod_release.sh gRPC-Core $version release-cocoapod-gRPC-Cpp: - runs-on: macos-14 + runs-on: macos-12 needs: [release-cocoapod-gRPC-Core] steps: - name: Repo checkout @@ -47,7 +47,7 @@ jobs: version=${TAG#v} timeout 1h scripts/wait_for_pod_release.sh gRPC-C++ $version release-cocoapod-gRPC-RxLibrary: - runs-on: macos-14 + runs-on: macos-12 steps: - name: Repo checkout uses: actions/checkout@v3 @@ -66,7 +66,7 @@ jobs: timeout 1h scripts/wait_for_pod_release.sh gRPC-RxLibrary $version release-cocoapod-gRPC: - runs-on: macos-14 + runs-on: macos-12 needs: [release-cocoapod-gRPC-RxLibrary, release-cocoapod-gRPC-Core] steps: - name: Repo checkout @@ -86,7 +86,7 @@ jobs: timeout 1h scripts/wait_for_pod_release.sh gRPC $version release-cocoapod-gRPC-ProtoRPC: - runs-on: macos-14 + runs-on: macos-12 needs: [release-cocoapod-gRPC-RxLibrary, release-cocoapod-gRPC] steps: - name: Repo checkout diff --git a/scripts/prepare_env.sh b/scripts/prepare_env.sh index 8c5f4d07e8..b8eb789d78 100755 --- a/scripts/prepare_env.sh +++ b/scripts/prepare_env.sh @@ -10,3 +10,4 @@ set -ex brew install coreutils brew install pyyaml +pip3 install pyyaml || true diff --git a/scripts/release_cocoapod.sh b/scripts/release_cocoapod.sh index 9b92b28069..37a1dba4f2 100755 --- a/scripts/release_cocoapod.sh +++ b/scripts/release_cocoapod.sh @@ -14,7 +14,7 @@ if [ -z "$TARGET_PODSPEC" ]; then fi # Skip lint during pod trunk push -# ./scripts/skip_pod_push_lint.sh +./scripts/skip_pod_push_lint.sh echo "Publishing podspec $TARGET_PODSPEC"