Skip to content

Commit a1d2fb4

Browse files
committed
Update release job to use ubuntu-latest
Update the release CI job to use ubuntu-latest instead of the now unavailable ubuntu-20.04. Normally we should update this via `dist generate`, but to keep changes isolated we manually update just this field.
1 parent 953ad95 commit a1d2fb4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ on:
5050
jobs:
5151
# Run 'dist plan' (or host) to determine what tasks we need to do
5252
plan:
53-
runs-on: "ubuntu-20.04"
53+
runs-on: "ubuntu-latest"
5454
outputs:
5555
val: ${{ steps.plan.outputs.manifest }}
5656
tag: ${{ !github.event.pull_request && github.ref_name || '' }}
@@ -176,7 +176,7 @@ jobs:
176176
needs:
177177
- plan
178178
- build-local-artifacts
179-
runs-on: "ubuntu-20.04"
179+
runs-on: "ubuntu-latest"
180180
env:
181181
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
182182
BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
@@ -236,7 +236,7 @@ jobs:
236236
env:
237237
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
238238
AXO_RELEASES_TOKEN: ${{ secrets.AXO_RELEASES_TOKEN }}
239-
runs-on: "ubuntu-20.04"
239+
runs-on: "ubuntu-latest"
240240
outputs:
241241
val: ${{ steps.host.outputs.manifest }}
242242
steps:
@@ -276,7 +276,7 @@ jobs:
276276
needs:
277277
- plan
278278
- host
279-
runs-on: "ubuntu-20.04"
279+
runs-on: "ubuntu-latest"
280280
env:
281281
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
282282
PLAN: ${{ needs.plan.outputs.val }}
@@ -321,7 +321,7 @@ jobs:
321321
needs:
322322
- plan
323323
- host
324-
runs-on: "ubuntu-20.04"
324+
runs-on: "ubuntu-latest"
325325
env:
326326
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
327327
PLAN: ${{ needs.plan.outputs.val }}
@@ -372,7 +372,7 @@ jobs:
372372
# still allowing individual publish jobs to skip themselves (for prereleases).
373373
# "host" however must run to completion, no skipping allowed!
374374
if: ${{ always() && needs.host.result == 'success' && (needs.publish-homebrew-formula.result == 'skipped' || needs.publish-homebrew-formula.result == 'success') && (needs.publish-npm.result == 'skipped' || needs.publish-npm.result == 'success') && (needs.custom-publish-crates.result == 'skipped' || needs.custom-publish-crates.result == 'success') }}
375-
runs-on: "ubuntu-20.04"
375+
runs-on: "ubuntu-latest"
376376
env:
377377
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
378378
AXO_RELEASES_TOKEN: ${{ secrets.AXO_RELEASES_TOKEN }}

0 commit comments

Comments
 (0)