Update build environment for GitHub Actions from macOS 12 to 15 (#3226)
* Update build environment for GitHub Actions from macOS 12 to 15 * Fix node issue * Add fix to other workflows
This commit is contained in:
6
.github/workflows/nightly-main.yml
vendored
6
.github/workflows/nightly-main.yml
vendored
@@ -106,7 +106,7 @@ jobs:
|
||||
retention-days: 5 ## No need to keep them since they are uploaded on S3
|
||||
|
||||
mac-app-store-preflight:
|
||||
runs-on: macos-12
|
||||
runs-on: macos-15
|
||||
env:
|
||||
MAS_PROFILE: ${{ secrets.MM_DESKTOP_MAC_APP_STORE_MAS_PROFILE }}
|
||||
MACOS_API_KEY_ID: ${{ secrets.MM_DESKTOP_MAC_APP_STORE_MACOS_API_KEY_ID }}
|
||||
@@ -129,6 +129,7 @@ jobs:
|
||||
- name: nightly/install-dependencies
|
||||
run: |
|
||||
brew install yq
|
||||
sudo xcode-select -s /Applications/Xcode_16.1.app/Contents/Developer
|
||||
npm ci
|
||||
- name: nightly/copy-provisioning-profile
|
||||
run: echo $MAS_PROFILE | base64 -D > ./mas.provisionprofile
|
||||
@@ -142,7 +143,7 @@ jobs:
|
||||
run: fastlane publish_test path:"$(find . -name \*.pkg -print -quit)"
|
||||
|
||||
build-mac-installer:
|
||||
runs-on: macos-12
|
||||
runs-on: macos-15
|
||||
needs:
|
||||
- mac-app-store-preflight
|
||||
steps:
|
||||
@@ -159,6 +160,7 @@ jobs:
|
||||
- name: nightly/install-dependencies
|
||||
run: |
|
||||
brew install yq rename
|
||||
sudo xcode-select -s /Applications/Xcode_16.1.app/Contents/Developer
|
||||
npm ci
|
||||
- name: nightly/test
|
||||
uses: ./.github/actions/test
|
||||
|
Reference in New Issue
Block a user