From 267d3d95c4836dd2d243ba118716df9c85c43f90 Mon Sep 17 00:00:00 2001 From: Michael Rebello Date: Tue, 15 Oct 2024 07:39:07 +0530 Subject: [PATCH 1/2] Update release CI job to use Xcode 16 I missed this in https://github.com/connectrpc/connect-swift/commit/30d3ccf37a2f0fc7e179170b71b8bfe8468968f7 Signed-off-by: Michael Rebello --- .github/workflows/release.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5555a1cb..d103bce4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,8 +12,8 @@ jobs: steps: - uses: actions/checkout@v4 - name: Select Xcode version - # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md - run: sudo xcode-select --switch /Applications/Xcode_15.2.app + # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#xcode + run: sudo xcode-select --switch /Applications/Xcode_16.app - uses: bufbuild/buf-setup-action@v1.45.0 with: github_token: ${{ github.token }} @@ -36,3 +36,15 @@ jobs: append_body: true files: | ./.tmp/bin/artifacts/* + publish-to-cocoapods: + runs-on: macos-14 + steps: + - uses: actions/checkout@v4 + - name: Select Xcode version + # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#xcode + run: sudo xcode-select --switch /Applications/Xcode_16.app + - name: Publish to CocoaPod register + env: + COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} + run: | + pod trunk push Connect-Swift.podspec From 6abee1f0e61171e95f3e0db8d4cffe64b68add14 Mon Sep 17 00:00:00 2001 From: Michael Rebello Date: Tue, 15 Oct 2024 07:40:32 +0530 Subject: [PATCH 2/2] fixup Signed-off-by: Michael Rebello --- .github/workflows/release.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d103bce4..ca584a8b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,15 +36,3 @@ jobs: append_body: true files: | ./.tmp/bin/artifacts/* - publish-to-cocoapods: - runs-on: macos-14 - steps: - - uses: actions/checkout@v4 - - name: Select Xcode version - # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#xcode - run: sudo xcode-select --switch /Applications/Xcode_16.app - - name: Publish to CocoaPod register - env: - COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} - run: | - pod trunk push Connect-Swift.podspec