1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

[BRE-1302] Update deprecated macos 13 runners (#17312)

* [BRE-1302] Update runner to macos-15 for build-browser workflow on build-safari job

* [BRE-1302] Remove macos-13 and 14, add macos-15 to os matrix for build-cli

* [BRE-1302] Update macos runner to 15 and add python setup step before setuptools install

* [BRE-1302] Update macos runner to 15 for 2 additional jobs and add python setup step
This commit is contained in:
brandonbiete
2025-11-10 15:41:49 -05:00
committed by GitHub
parent 1cfeef2395
commit c3f4e9b12c
3 changed files with 24 additions and 9 deletions

View File

@@ -341,7 +341,7 @@ jobs:
build-safari:
name: Build Safari - ${{ matrix.license_type.readable }}
runs-on: macos-13
runs-on: macos-15
permissions:
contents: read
id-token: write

View File

@@ -93,8 +93,8 @@ jobs:
[
{ base: "linux", distro: "ubuntu-22.04", target_suffix: "" },
{ base: "linux", distro: "ubuntu-22.04-arm", target_suffix: "-arm64" },
{ base: "mac", distro: "macos-13", target_suffix: "" },
{ base: "mac", distro: "macos-14", target_suffix: "-arm64" }
{ base: "mac", distro: "macos-15-intel", target_suffix: "" },
{ base: "mac", distro: "macos-15", target_suffix: "-arm64" }
]
license_type:
[

View File

@@ -940,7 +940,7 @@ jobs:
macos-build:
name: MacOS Build
runs-on: macos-13
runs-on: macos-15
needs:
- setup
permissions:
@@ -966,7 +966,12 @@ jobs:
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
node-version: ${{ env._NODE_VERSION }}
- name: Set up Python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: '3.12'
- name: Set up Node-gyp
run: python3 -m pip install setuptools
@@ -1162,7 +1167,7 @@ jobs:
macos-package-github:
name: MacOS Package GitHub Release Assets
runs-on: macos-13
runs-on: macos-15
if: ${{ needs.setup.outputs.has_secrets == 'true' }}
needs:
- browser-build
@@ -1191,7 +1196,12 @@ jobs:
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
node-version: ${{ env._NODE_VERSION }}
- name: Set up Python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: '3.12'
- name: Set up Node-gyp
run: python3 -m pip install setuptools
@@ -1422,7 +1432,7 @@ jobs:
macos-package-mas:
name: MacOS Package Prod Release Asset
runs-on: macos-13
runs-on: macos-15
if: ${{ needs.setup.outputs.has_secrets == 'true' }}
needs:
- browser-build
@@ -1451,7 +1461,12 @@ jobs:
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
node-version: ${{ env._NODE_VERSION }}
- name: Set up Python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: '3.12'
- name: Set up Node-gyp
run: python3 -m pip install setuptools