Skip to content

Commit cb47c5f

Browse files
committed
ci: use ubuntu-latest instead of ubuntu-20.04
which is no longer available on Github
1 parent a607612 commit cb47c5f

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/release.yml

+4-4
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-latest"
5151
outputs:
5252
val: ${{ steps.plan.outputs.manifest }}
5353
tag: ${{ !github.event.pull_request && github.ref_name || '' }}
@@ -168,7 +168,7 @@ jobs:
168168
needs:
169169
- plan
170170
- build-local-artifacts
171-
runs-on: "ubuntu-20.04"
171+
runs-on: "ubuntu-latest"
172172
env:
173173
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
174174
BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
@@ -218,7 +218,7 @@ jobs:
218218
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') }}
219219
env:
220220
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
221-
runs-on: "ubuntu-20.04"
221+
runs-on: "ubuntu-latest"
222222
outputs:
223223
val: ${{ steps.host.outputs.manifest }}
224224
steps:
@@ -282,7 +282,7 @@ jobs:
282282
# still allowing individual publish jobs to skip themselves (for prereleases).
283283
# "host" however must run to completion, no skipping allowed!
284284
if: ${{ always() && needs.host.result == 'success' }}
285-
runs-on: "ubuntu-20.04"
285+
runs-on: "ubuntu-latest"
286286
env:
287287
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
288288
steps:

dist-workspace.toml

+5
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,8 @@ pr-run-mode = "plan"
1717
install-path = "CARGO_HOME"
1818
# Whether to install an updater program
1919
install-updater = false
20+
# Ignore out-of-date contents
21+
allow-dirty = ["ci"]
22+
23+
[dist.github-custom-runners]
24+
x86_64-unknown-linux-gnu = "ubuntu-latest"

0 commit comments

Comments
 (0)