From 822b8a46419958ba7c2b72950f3b667d3dd32912 Mon Sep 17 00:00:00 2001 From: Nils Reichardt Date: Thu, 10 Oct 2024 19:06:45 +0200 Subject: [PATCH] Upgrade GitHub Actions jobs from `macos-13` to `macos-14` (#1754) macos-14 is used when using macos-default --- .github/workflows/alpha.yml | 16 ++++++++++++++-- .github/workflows/beta.yml | 16 ++++++++++++++-- .github/workflows/integration_tests_app_ci.yml | 6 +++++- .github/workflows/stable.yml | 16 ++++++++++++++-- 4 files changed, 47 insertions(+), 7 deletions(-) diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index 6e5c121e0..a7d4a0031 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -127,6 +127,10 @@ jobs: flutter pub global activate --source path "$CI_CD_DART_SCRIPTS_PACKAGE_PATH" echo $(realpath ./bin) >> $GITHUB_PATH + - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 + with: + python-version: "3.9" + - name: Install Codemagic CLI Tools run: pip3 install codemagic-cli-tools==0.50.7 @@ -208,11 +212,15 @@ jobs: --release-notes "$LAST_COMMIT_MESSAGE" deploy-alpha-ios-app: - runs-on: macos-13 + runs-on: macos-14 timeout-minutes: 120 steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 + - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 + with: + python-version: "3.9" + - name: Install Codemagic CLI Tools run: pip3 install codemagic-cli-tools==0.50.7 @@ -267,11 +275,15 @@ jobs: --export-options-plist=$HOME/export_options.plist deploy-alpha-macos-app: - runs-on: macos-13 + runs-on: macos-14 timeout-minutes: 60 steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 + - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 + with: + python-version: "3.9" + - name: Install Codemagic CLI Tools run: pip3 install codemagic-cli-tools==0.50.7 diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 50d8516eb..2318610ea 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -63,11 +63,15 @@ jobs: # We skip the deployment if no changelog is provided because we assume that # nothing has changed in the iOS app and therefore no new version is needed. if: github.event.inputs.ios-changelog != '' - runs-on: macos-13 + runs-on: macos-14 timeout-minutes: 120 steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 + - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 + with: + python-version: "3.9" + - name: Install Codemagic CLI Tools run: pip3 install codemagic-cli-tools==0.50.7 @@ -162,6 +166,10 @@ jobs: distribution: "oracle" java-version: "17" + - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 + with: + python-version: "3.9" + - name: Install Codemagic CLI Tools run: pip3 install codemagic-cli-tools==0.50.7 @@ -216,11 +224,15 @@ jobs: # We skip the deployment if no changelog is provided because we assume that # nothing has changed in the macOS app and therefore no new version is needed. if: github.event.inputs.macos-changelog != '' - runs-on: macos-13 + runs-on: macos-14 timeout-minutes: 60 steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 + - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 + with: + python-version: "3.9" + - name: Install Codemagic CLI Tools run: pip3 install codemagic-cli-tools==0.50.7 diff --git a/.github/workflows/integration_tests_app_ci.yml b/.github/workflows/integration_tests_app_ci.yml index 8694117f4..1a7b1ce43 100644 --- a/.github/workflows/integration_tests_app_ci.yml +++ b/.github/workflows/integration_tests_app_ci.yml @@ -263,7 +263,7 @@ jobs: # macOS app. macos-build-test: needs: changes - runs-on: macos-13 + runs-on: macos-14 if: ${{ needs.changes.outputs.changesFound == 'true' }} timeout-minutes: 60 defaults: @@ -272,6 +272,10 @@ jobs: steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 + - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 + with: + python-version: "3.9" + - name: Install Codemagic CLI Tools run: pip3 install codemagic-cli-tools==0.50.7 diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml index 1bd91b43d..d9716dbab 100644 --- a/.github/workflows/stable.yml +++ b/.github/workflows/stable.yml @@ -63,11 +63,15 @@ jobs: # We skip the deployment if no changelog is provided because we assume that # nothing has changed in the iOS app and therefore no new version is needed. if: github.event.inputs.ios-changelog != '' - runs-on: macos-13 + runs-on: macos-14 timeout-minutes: 120 steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 + - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 + with: + python-version: "3.9" + - name: Install Codemagic CLI Tools run: pip3 install codemagic-cli-tools==0.50.7 @@ -164,6 +168,10 @@ jobs: distribution: "oracle" java-version: "17" + - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 + with: + python-version: "3.9" + - name: Install Codemagic CLI Tools run: pip3 install codemagic-cli-tools==0.50.7 @@ -218,11 +226,15 @@ jobs: # We skip the deployment if no changelog is provided because we assume that # nothing has changed in the macOS app and therefore no new version is needed. if: github.event.inputs.macos-changelog != '' - runs-on: macos-13 + runs-on: macos-14 timeout-minutes: 60 steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 + - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 + with: + python-version: "3.9" + - name: Install Codemagic CLI Tools run: pip3 install codemagic-cli-tools==0.50.7