Skip to content

Commit cfc9805

Browse files
authored
ci: force ubuntu 22.04 build release (#483)
1 parent 78433db commit cfc9805

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ env:
2525
jobs:
2626
build-console:
2727
name: build-frontend
28-
runs-on: ubuntu-latest
28+
runs-on: ubuntu-22.04
2929
env:
3030
NEXT_PUBLIC_API_URL: /api/
3131
steps:
@@ -85,71 +85,71 @@ jobs:
8585
# - windows msvc x64
8686
include:
8787
- build: linux gnu x64
88-
os: ubuntu-latest
88+
os: ubuntu-22.04
8989
rust: stable
9090
target: x86_64-unknown-linux-gnu
9191
extension: ""
9292
cross: false
9393
build_record_tool: true
9494
build_record_worker: true
9595
- build: linux musl x64
96-
os: ubuntu-latest
96+
os: ubuntu-22.04
9797
rust: stable
9898
target: x86_64-unknown-linux-musl
9999
extension: ""
100100
cross: false
101101
- build: linux gnu aarch64
102-
os: ubuntu-latest
102+
os: ubuntu-22.04
103103
rust: stable
104104
target: aarch64-unknown-linux-gnu
105105
extension: ""
106106
cross: true
107107
build_record_tool: true
108108
build_record_worker: true
109109
- build: linux musl aarch64
110-
os: ubuntu-latest
110+
os: ubuntu-22.04
111111
rust: stable
112112
target: aarch64-unknown-linux-musl
113113
extension: ""
114114
cross: true
115115
# - build: linux gnueabihf arm
116-
# os: ubuntu-latest
116+
# os: ubuntu-22.04
117117
# rust: stable
118118
# target: arm-unknown-linux-gnueabihf
119119
# extension: ""
120120
# cross: true
121121
# - build: linux gnueabihf armv7
122-
# os: ubuntu-latest
122+
# os: ubuntu-22.04
123123
# rust: stable
124124
# target: armv7-unknown-linux-gnueabihf
125125
# extension: ""
126126
# cross: true
127127
# - build: linux gnu mips
128-
# os: ubuntu-latest
128+
# os: ubuntu-22.04
129129
# rust: 1.71.1
130130
# target: mips-unknown-linux-gnu
131131
# extension: ""
132132
# cross: true
133133
# - build: linux gnuabi64 mips64
134-
# os: ubuntu-latest
134+
# os: ubuntu-22.04
135135
# rust: 1.71.1
136136
# target: mips64-unknown-linux-gnuabi64
137137
# extension: ""
138138
# cross: true
139139
# - build: linux gnuabi64 mips64el
140-
# os: ubuntu-latest
140+
# os: ubuntu-22.04
141141
# rust: 1.71.1
142142
# target: mips64el-unknown-linux-gnuabi64
143143
# extension: ""
144144
# cross: true
145145
# - build: linux gnu mipsel
146-
# os: ubuntu-latest
146+
# os: ubuntu-22.04
147147
# rust: 1.71.1
148148
# target: mipsel-unknown-linux-gnu
149149
# extension: ""
150150
# cross: true
151151
# - build: linux musl aarch64
152-
# os: ubuntu-latest
152+
# os: ubuntu-22.04
153153
# rust: stable
154154
# target: aarch64-unknown-linux-musl
155155
# extension: ""
@@ -171,13 +171,13 @@ jobs:
171171
build_record_tool: true
172172
build_record_worker: true
173173
# - build: windows gnu x64
174-
# os: ubuntu-latest
174+
# os: ubuntu-22.04
175175
# rust: stable
176176
# target: x86_64-pc-windows-gnu
177177
# extension: ".exe"
178178
# cross: false
179179
# - build: windows msvc x64
180-
# os: windows-latest
180+
# os: ubuntu-22.04
181181
# rust: stable
182182
# target: x86_64-pc-windows-msvc
183183
# extension: ".exe"
@@ -195,7 +195,7 @@ jobs:
195195
target: ${{ matrix.target }}
196196

197197
- name: Install dev-tools
198-
if: matrix.os == 'ubuntu-latest'
198+
if: matrix.os == 'ubuntu-22.04'
199199
run: |
200200
sudo apt-get install -y --no-install-recommends pkg-config musl-dev musl-tools
201201
sudo ln -s /bin/g++ /bin/musl-g++
@@ -289,7 +289,7 @@ jobs:
289289
# only run if not a tags build
290290
if: startsWith(github.ref, 'refs/tags/') == false
291291
needs: build-release
292-
runs-on: ubuntu-latest
292+
runs-on: ubuntu-22.04
293293
steps:
294294
- uses: actions/download-artifact@v4
295295
- name: Display structure of downloaded files
@@ -307,7 +307,7 @@ jobs:
307307

308308
deploy-docker:
309309
needs: build-release
310-
runs-on: ubuntu-latest
310+
runs-on: ubuntu-22.04
311311
steps:
312312
- name: Set up QEMU
313313
uses: docker/setup-qemu-action@v3

0 commit comments

Comments
 (0)