From 8ef6f388eaba9acef5fc0786868ba7dfc97194b8 Mon Sep 17 00:00:00 2001 From: BrandonStalnaker Date: Wed, 6 Mar 2024 13:53:28 -0500 Subject: [PATCH] ci: Update CI to use latest version of xCode --- .github/workflows/actions.yml | 4 ++-- .github/workflows/ios-kit-release.yml | 15 +++++++++------ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index e9282bb..037311f 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -17,10 +17,10 @@ jobs: # Job name is Test name: Test # This job runs on macOS - runs-on: macOS-latest + runs-on: macOS-13 steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Dependencies run: | sudo gem install cocoapods diff --git a/.github/workflows/ios-kit-release.yml b/.github/workflows/ios-kit-release.yml index 3397790..368e4ec 100644 --- a/.github/workflows/ios-kit-release.yml +++ b/.github/workflows/ios-kit-release.yml @@ -16,11 +16,11 @@ jobs: create-release-branch: name: Create release branch - runs-on: macOS-12 + runs-on: macOS-13 needs: confirm-main-branch steps: - name: Checkout development branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ github.repository }} token: ${{ secrets.MP_SEMANTIC_RELEASE_BOT }} @@ -33,14 +33,17 @@ jobs: release: name: Perform release - runs-on: macOS-12 + runs-on: macOS-13 needs: create-release-branch env: GITHUB_ACCESS_TOKEN: ${{ secrets.MP_SEMANTIC_RELEASE_BOT }} COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + - name: Select Xcode + run: sudo xcode-select -s /Applications/Xcode_15.2.app - name: Validate environment run: | @@ -53,7 +56,7 @@ jobs: git config user.name "mParticle Automation" - name: Checkout main branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 repository: ${{ github.repository }} @@ -114,7 +117,7 @@ jobs: sync-repository: name: Finalize release needs: release - runs-on: macOS-12 + runs-on: macOS-13 steps: - name: Checkout main branch uses: actions/checkout@v3