Skip to content

Commit 9d602f4

Browse files
authored
ci: pin runner versions (#108)
* ci: pin runner versions * run dist init
1 parent 73df7a8 commit 9d602f4

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.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-latest"
50+
runs-on: "ubuntu-22.04"
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-latest"
171+
runs-on: "ubuntu-22.04"
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-latest"
221+
runs-on: "ubuntu-22.04"
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-latest"
285+
runs-on: "ubuntu-22.04"
286286
env:
287287
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
288288
steps:

dist-workspace.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ unix-archive = ".tar.gz"
1919
dist = true
2020

2121
[dist.github-custom-runners]
22-
global = "ubuntu-latest"
23-
x86_64-unknown-linux-gnu = "ubuntu-latest"
22+
global = "ubuntu-22.04"
23+
x86_64-unknown-linux-gnu = "ubuntu-22.04"
2424
x86_64-apple-darwin = "macos-13"
25-
aarch64-apple-darwin = "macos-latest"
25+
aarch64-apple-darwin = "macos-15"

0 commit comments

Comments
 (0)