Skip to content

Commit 4bc482c

Browse files
committed
ci(release): use Ubuntu 22.04 for release pipelines
1 parent 0d77d8f commit 4bc482c

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ on:
4747
jobs:
4848
# Run 'dist plan' (or host) to determine what tasks we need to do
4949
plan:
50-
runs-on: "ubuntu-20.04"
50+
runs-on: "ubuntu-22.04"
5151
outputs:
5252
val: ${{ steps.plan.outputs.manifest }}
5353
tag: ${{ !github.event.pull_request && github.ref_name || '' }}
@@ -172,7 +172,7 @@ jobs:
172172
needs:
173173
- plan
174174
- build-local-artifacts
175-
runs-on: "ubuntu-20.04"
175+
runs-on: "ubuntu-22.04"
176176
env:
177177
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
178178
BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
@@ -224,7 +224,7 @@ jobs:
224224
if: ${{ always() && needs.plan.outputs.publishing == 'true' && (needs.build-global-artifacts.result == 'skipped' || needs.build-global-artifacts.result == 'success') && (needs.build-local-artifacts.result == 'skipped' || needs.build-local-artifacts.result == 'success') }}
225225
env:
226226
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
227-
runs-on: "ubuntu-20.04"
227+
runs-on: "ubuntu-22.04"
228228
outputs:
229229
val: ${{ steps.host.outputs.manifest }}
230230
steps:
@@ -290,7 +290,7 @@ jobs:
290290
# still allowing individual publish jobs to skip themselves (for prereleases).
291291
# "host" however must run to completion, no skipping allowed!
292292
if: ${{ always() && needs.host.result == 'success' }}
293-
runs-on: "ubuntu-20.04"
293+
runs-on: "ubuntu-22.04"
294294
env:
295295
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
296296
steps:

dist-workspace.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ pr-run-mode = "skip"
1717
all-features = true
1818
# Skip checking whether the specified configuration files are up to date
1919
allow-dirty = ["ci"]
20+
21+
[dist.github-custom-runners]
22+
x86_64-unknown-linux-gnu = "ubuntu-22.04"
23+
aarch64-unknown-linux-gnu = "ubuntu-22.04"

0 commit comments

Comments
 (0)