gRPC-iOS v1.55.3 Release #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cocoapod prod release | |
on: | |
release: | |
types: [published] | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: false | |
env: | |
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | |
jobs: | |
release-cocoapod-gRPC-Core: | |
runs-on: macos-latest | |
steps: | |
- name: Repo checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- name: Prepare environment | |
run: scripts/prepare_env.sh | |
- name: Pod release | |
run: scripts/release_cocoapod.sh native/gRPC-Core.podspec | |
- name: Wait for pod avaialble | |
run: | | |
version=$(cat VERSION) | |
timeout 1h scripts/wait_for_pod_release.sh gRPC-Core $version | |
release-cocoapod-gRPC-Cpp: | |
runs-on: macos-latest | |
needs: [release-cocoapod-gRPC-Core] | |
steps: | |
- name: Repo checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- name: Prepare environment | |
run: scripts/prepare_env.sh | |
- name: Pod release | |
run: scripts/release_cocoapod.sh native/gRPC-C++.podspec | |
- name: Wait for pod avaialble | |
run: | | |
version=$(cat VERSION) | |
timeout 1h scripts/wait_for_pod_release.sh gRPC-C++ $version | |
release-cocoapod-gRPC-RxLibrary: | |
runs-on: macos-latest | |
steps: | |
- name: Repo checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- name: Prepare environment | |
run: scripts/prepare_env.sh | |
- name: Pod release | |
run: scripts/release_cocoapod.sh native/gRPC-RxLibrary.podspec | |
- name: Wait for pod avaialble | |
run: | | |
version=$(cat VERSION) | |
timeout 1h scripts/wait_for_pod_release.sh gRPC-RxLibrary $version | |
release-cocoapod-gRPC: | |
runs-on: macos-latest | |
needs: [release-cocoapod-gRPC-RxLibrary, release-cocoapod-gRPC-Core] | |
steps: | |
- name: Repo checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- name: Prepare environment | |
run: scripts/prepare_env.sh | |
- name: Pod release | |
run: scripts/release_cocoapod.sh native/gRPC.podspec | |
- name: Wait for pod avaialble | |
run: | | |
version=$(cat VERSION) | |
timeout 1h scripts/wait_for_pod_release.sh gRPC $version | |
release-cocoapod-gRPC-ProtoRPC: | |
runs-on: macos-latest | |
needs: [release-cocoapod-gRPC-RxLibrary, release-cocoapod-gRPC] | |
steps: | |
- name: Repo checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- name: Prepare environment | |
run: scripts/prepare_env.sh | |
- name: Pod release | |
run: scripts/release_cocoapod.sh native/gRPC-ProtoRPC.podspec | |
- name: Wait for pod avaialble | |
run: | | |
version=$(cat VERSION) | |
timeout 1h scripts/wait_for_pod_release.sh gRPC-ProtoRPC $version |