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