From 071337fe861e83ea67385f9645f8a8204fb7289d Mon Sep 17 00:00:00 2001 From: Dmitry Vedenko Date: Thu, 29 Feb 2024 21:05:05 +0300 Subject: [PATCH] Update the macOS runners to macos-13 This change is required to adopt the new notarization flow required by Apple. Audacity now builds using Xcode 15.0.1 on CI. Details about the runner: https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md --- .github/workflows/build.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ceb69b3666aa..3acd8f60ed88 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,6 +63,8 @@ on: required: false APPLE_NOTARIZATION_PASSWORD: required: false + APPLE_NOTARIZATION_TEAM_ID: + required: false CRASH_REPORT_URL: required: false SENTRY_AUTH_TOKEN: @@ -221,7 +223,7 @@ jobs: postfix: ${{ matrix.config.postfix }} build_macos_intel: name: Build macOS (x86_64) - runs-on: macos-11 + runs-on: macos-13 steps: - name: Checkout Audacity uses: actions/checkout@v2 @@ -255,7 +257,7 @@ jobs: path: macos_intel.tar build_macos_arm64: name: Build macOS (arm64) - runs-on: macos-11 + runs-on: macos-13 steps: - name: Checkout Audacity uses: actions/checkout@v2 @@ -297,7 +299,7 @@ jobs: path: macos_arm64.tar package_macos: name: Package macOS (x86_64, arm64, universal) - runs-on: macos-11 + runs-on: macos-13 needs: [build_macos_intel, build_macos_arm64] steps: - name: Checkout Audacity @@ -334,6 +336,7 @@ jobs: apple_codesign_identity: ${{ secrets.APPLE_CODESIGN_IDENTITY }} apple_notarization_user_name: ${{ secrets.APPLE_NOTARIZATION_USER_NAME }} apple_notarization_password: ${{ secrets.APPLE_NOTARIZATION_PASSWORD }} + apple_notarization_team_id: ${{ secrets.APPLE_NOTARIZATION_TEAM_ID }} archs: | x64 arm64