fix: use ubuntu-22.04 instead of latest for desktop release

Related bug: https://github.com/electron/electron/issues/41066.
This commit is contained in:
Tienson Qin
2025-03-11 02:55:14 +08:00
parent e1f8a20890
commit 0ff5471aba
4 changed files with 13 additions and 13 deletions

View File

@@ -53,7 +53,7 @@ env:
jobs:
compile-cljs:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check build options
if: ${{ github.event_name == 'workflow_dispatch' && (github.event.inputs.build-target == 'nightly' || github.event.inputs.build-target == 'beta') && github.event.inputs.git-ref != 'master' }}
@@ -173,7 +173,7 @@ jobs:
e2e-test:
name: E2E Test Shard ${{ matrix.shard }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
shard: [1, 2, 3]
@@ -223,7 +223,7 @@ jobs:
RELEASE: true # skip dev only test
build-linux-x64:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [ compile-cljs ]
steps:
- name: Download The Static Asset
@@ -269,7 +269,7 @@ jobs:
path: builds
build-linux-arm64:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [ compile-cljs ]
steps:
- name: Download The Static Asset
@@ -581,7 +581,7 @@ jobs:
nightly-release:
if: ${{ github.event_name == 'schedule' || github.event.inputs.build-target == 'nightly' }}
needs: [ build-macos-x64, build-macos-arm64, build-linux-x64, build-linux-arm64, codesign-windows, build-android, e2e-test ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Download MacOS x64 Artifacts
uses: actions/download-artifact@v3
@@ -661,7 +661,7 @@ jobs:
# NOTE: For now, we only have beta channel to be released on Github
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.build-target == 'beta' }}
needs: [ build-macos-x64, build-macos-arm64, build-linux-x64, build-linux-arm64, codesign-windows, build-android, e2e-test ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Download MacOS x64 Artifacts
uses: actions/download-artifact@v3

View File

@@ -12,7 +12,7 @@ env:
jobs:
build-docker:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout

View File

@@ -20,7 +20,7 @@ env:
jobs:
typos:
name: Spell Check with Typos
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v3
@@ -32,7 +32,7 @@ jobs:
test:
strategy:
matrix:
operating-system: [ubuntu-latest]
operating-system: [ubuntu-22.04]
runs-on: ${{ matrix.operating-system }}
@@ -83,7 +83,7 @@ jobs:
node static/tests.js
lint:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
@@ -117,7 +117,7 @@ jobs:
run: bb lang:validate-translations
e2e-test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout

View File

@@ -24,7 +24,7 @@ env:
jobs:
e2e-test-build:
name: Build Test Artifact
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
@@ -97,7 +97,7 @@ jobs:
e2e-test-run:
needs: [ e2e-test-build ]
name: Test Shard ${{ matrix.shard }} Repeat ${{ matrix.repeat }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
repeat: [1, 2]