Skip to content

Commit 8df573a

Browse files
committed
Fix ubuntu 20.04 deprecation
1 parent 41fdbca commit 8df573a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 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-latest"
5151
outputs:
5252
val: ${{ steps.plan.outputs.manifest }}
5353
tag: ${{ !github.event.pull_request && github.ref_name || '' }}
@@ -170,7 +170,7 @@ jobs:
170170
needs:
171171
- plan
172172
- build-local-artifacts
173-
runs-on: "ubuntu-20.04"
173+
runs-on: "ubuntu-latest"
174174
env:
175175
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
176176
BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
@@ -220,7 +220,7 @@ jobs:
220220
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') }}
221221
env:
222222
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
223-
runs-on: "ubuntu-20.04"
223+
runs-on: "ubuntu-latest"
224224
outputs:
225225
val: ${{ steps.host.outputs.manifest }}
226226
steps:
@@ -280,7 +280,7 @@ jobs:
280280
needs:
281281
- plan
282282
- host
283-
runs-on: "ubuntu-20.04"
283+
runs-on: "ubuntu-latest"
284284
env:
285285
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
286286
PLAN: ${{ needs.plan.outputs.val }}
@@ -330,7 +330,7 @@ jobs:
330330
# still allowing individual publish jobs to skip themselves (for prereleases).
331331
# "host" however must run to completion, no skipping allowed!
332332
if: ${{ always() && needs.host.result == 'success' && (needs.publish-homebrew-formula.result == 'skipped' || needs.publish-homebrew-formula.result == 'success') }}
333-
runs-on: "ubuntu-20.04"
333+
runs-on: "ubuntu-latest"
334334
env:
335335
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
336336
steps:

dist-workspace.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@ install-path = "CARGO_HOME"
3636
github-build-setup = "../templates/build_setup.yml"
3737

3838
[dist.github-custom-runners]
39+
global = "ubuntu-latest"
3940
aarch64-unknown-linux-gnu = "ubuntu-22.04-arm"
4041
x86_64-unknown-linux-gnu = "ubuntu-22.04"

0 commit comments

Comments
 (0)