Skip to content

Commit 02910c9

Browse files
committed
Update release CI job
Update the CI template for releases using the latest commit. This tag doesn't exist yet, so we'll see how that goes.
1 parent 953ad95 commit 02910c9

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 8 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-24.04"
5454
outputs:
5555
val: ${{ steps.plan.outputs.manifest }}
5656
tag: ${{ !github.event.pull_request && github.ref_name || '' }}
@@ -67,7 +67,7 @@ jobs:
6767
# we specify bash to get pipefail; it guards against the `curl` command
6868
# failing. otherwise `sh` won't catch that `curl` returned non-0
6969
shell: bash
70-
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.27.1/cargo-dist-installer.sh | sh"
70+
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/oxidecomputer/cargo-dist/releases/download/v1.0.0-rc.1/cargo-dist-installer.sh | sh"
7171
- name: Cache dist
7272
uses: actions/upload-artifact@v4
7373
with:
@@ -147,7 +147,7 @@ jobs:
147147
dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} > dist-manifest.json
148148
echo "dist ran successfully"
149149
- name: Attest
150-
uses: actions/attest-build-provenance@v1
150+
uses: actions/attest-build-provenance@v2
151151
with:
152152
subject-path: "target/distrib/*${{ join(matrix.targets, ', ') }}*"
153153
- id: cargo-dist
@@ -176,7 +176,7 @@ jobs:
176176
needs:
177177
- plan
178178
- build-local-artifacts
179-
runs-on: "ubuntu-20.04"
179+
runs-on: "ubuntu-24.04"
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-24.04"
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-24.04"
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-24.04"
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-24.04"
376376
env:
377377
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
378378
AXO_RELEASES_TOKEN: ${{ secrets.AXO_RELEASES_TOKEN }}

dist-workspace.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ members = ["cargo:."]
44
# Config for 'dist'
55
[dist]
66
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
7-
cargo-dist-version = "0.27.1"
7+
cargo-dist-version = "1.0.0-rc.1"
88
# CI backends to support
99
ci = "github"
1010
# The installers to generate for each app

0 commit comments

Comments
 (0)