Skip to content

Commit 1c08ddd

Browse files
committed
ci/release: Ubuntu 20.04 being sunset
Replace 20.04 with latest
1 parent 763c8b9 commit 1c08ddd

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-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 'cargo dist plan' (or host) to determine what tasks we need to do
4949
plan:
50-
runs-on: "ubuntu-20.04"
50+
runs-on: "ubuntu-latest"
5151
outputs:
5252
val: ${{ steps.plan.outputs.manifest }}
5353
tag: ${{ !github.event.pull_request && github.ref_name || '' }}
@@ -160,7 +160,7 @@ jobs:
160160
needs:
161161
- plan
162162
- build-local-artifacts
163-
runs-on: "ubuntu-20.04"
163+
runs-on: "ubuntu-latest"
164164
env:
165165
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
166166
BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
@@ -210,7 +210,7 @@ jobs:
210210
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') }}
211211
env:
212212
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
213-
runs-on: "ubuntu-20.04"
213+
runs-on: "ubuntu-latest"
214214
outputs:
215215
val: ${{ steps.host.outputs.manifest }}
216216
steps:
@@ -274,7 +274,7 @@ jobs:
274274
# still allowing individual publish jobs to skip themselves (for prereleases).
275275
# "host" however must run to completion, no skipping allowed!
276276
if: ${{ always() && needs.host.result == 'success' }}
277-
runs-on: "ubuntu-20.04"
277+
runs-on: "ubuntu-latest"
278278
env:
279279
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
280280
steps:

dist-workspace.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ install-updater = false
2121
install-path = "CARGO_HOME"
2222

2323
[dist.github-custom-runners]
24+
global = "ubuntu-latest"
2425
aarch64-apple-darwin = "macos-14"
2526
x86_64-apple-darwin = "macos-13"

0 commit comments

Comments
 (0)