Skip to content

Commit dc2fa21

Browse files
committed
Use ubuntu-22.04 instead of ubuntu-latest
1 parent 9cbf0b1 commit dc2fa21

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ jobs:
3333
strategy:
3434
fail-fast: false # 允许继续执行,即使某些作业失败
3535
matrix:
36-
os: [ubuntu-latest, macos-latest, windows-latest]
36+
os: [ubuntu-22.04, macos-latest, windows-latest]
3737
include:
38-
- os: ubuntu-latest
38+
- os: ubuntu-22.04
3939
platform: linux
4040
build_target: build/linux/x64/release/bundle
4141
artifact: linux.tar.gz
@@ -104,7 +104,7 @@ jobs:
104104
deploy_web:
105105
name: Deploy Web
106106
needs: build
107-
runs-on: ubuntu-latest
107+
runs-on: ubuntu-22.04
108108

109109
steps:
110110
- name: Checkout code
@@ -139,7 +139,7 @@ jobs:
139139
if: >
140140
github.event_name != 'workflow_dispatch' ||
141141
(github.event_name == 'workflow_dispatch' && github.event.inputs.release_id == '')
142-
runs-on: ubuntu-latest
142+
runs-on: ubuntu-22.04
143143
steps:
144144
- name: Download all artifacts
145145
uses: actions/download-artifact@v4
@@ -166,7 +166,7 @@ jobs:
166166
name: Update Release
167167
needs: [build, create_release]
168168
if: github.event_name == 'workflow_dispatch' && github.event.inputs.release_id != ''
169-
runs-on: ubuntu-latest
169+
runs-on: ubuntu-22.04
170170
steps:
171171
- name: Download all artifacts
172172
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)