|
1 |
| -# This file was autogenerated by dist: https://opensource.axo.dev/cargo-dist/ |
| 1 | +# This file was autogenerated by dist: https://github.com/astral-sh/cargo-dist |
2 | 2 | #
|
3 |
| -# Copyright 2022-2024, axodotdev |
| 3 | +# Copyright 2025 Astral Software Inc. |
4 | 4 | # SPDX-License-Identifier: MIT or Apache-2.0
|
5 | 5 | #
|
6 | 6 | # CI that:
|
|
49 | 49 | jobs:
|
50 | 50 | # Run 'dist plan' (or host) to determine what tasks we need to do
|
51 | 51 | plan:
|
52 |
| - runs-on: "ubuntu-20.04" |
| 52 | + runs-on: "ubuntu-22.04" |
53 | 53 | outputs:
|
54 | 54 | val: ${{ steps.plan.outputs.manifest }}
|
55 | 55 | tag: ${{ !github.event.pull_request && github.ref_name || '' }}
|
|
65 | 65 | # we specify bash to get pipefail; it guards against the `curl` command
|
66 | 66 | # failing. otherwise `sh` won't catch that `curl` returned non-0
|
67 | 67 | shell: bash
|
68 |
| - run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.28.0/cargo-dist-installer.sh | sh" |
| 68 | + run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/cargo-dist/releases/download/v0.28.3/cargo-dist-installer.sh | sh" |
69 | 69 | - name: Cache dist
|
70 | 70 | uses: actions/upload-artifact@v4
|
71 | 71 | with:
|
@@ -145,7 +145,7 @@ jobs:
|
145 | 145 | dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} > dist-manifest.json
|
146 | 146 | echo "dist ran successfully"
|
147 | 147 | - name: Attest
|
148 |
| - uses: actions/attest-build-provenance@v1 |
| 148 | + uses: actions/attest-build-provenance@v2 |
149 | 149 | with:
|
150 | 150 | subject-path: "target/distrib/*${{ join(matrix.targets, ', ') }}*"
|
151 | 151 | - id: cargo-dist
|
@@ -174,7 +174,7 @@ jobs:
|
174 | 174 | needs:
|
175 | 175 | - plan
|
176 | 176 | - build-local-artifacts
|
177 |
| - runs-on: "ubuntu-20.04" |
| 177 | + runs-on: "ubuntu-22.04" |
178 | 178 | env:
|
179 | 179 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
180 | 180 | BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
|
@@ -224,7 +224,7 @@ jobs:
|
224 | 224 | 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') }}
|
225 | 225 | env:
|
226 | 226 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
227 |
| - runs-on: "ubuntu-20.04" |
| 227 | + runs-on: "ubuntu-22.04" |
228 | 228 | outputs:
|
229 | 229 | val: ${{ steps.host.outputs.manifest }}
|
230 | 230 | steps:
|
@@ -288,7 +288,7 @@ jobs:
|
288 | 288 | # still allowing individual publish jobs to skip themselves (for prereleases).
|
289 | 289 | # "host" however must run to completion, no skipping allowed!
|
290 | 290 | if: ${{ always() && needs.host.result == 'success' }}
|
291 |
| - runs-on: "ubuntu-20.04" |
| 291 | + runs-on: "ubuntu-22.04" |
292 | 292 | env:
|
293 | 293 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
294 | 294 | steps:
|
|
0 commit comments