|
50 | 50 | jobs: |
51 | 51 | # Run 'dist plan' (or host) to determine what tasks we need to do |
52 | 52 | plan: |
53 | | - runs-on: "ubuntu-20.04" |
| 53 | + runs-on: "ubuntu-24.04" |
54 | 54 | outputs: |
55 | 55 | val: ${{ steps.plan.outputs.manifest }} |
56 | 56 | tag: ${{ !github.event.pull_request && github.ref_name || '' }} |
|
67 | 67 | # we specify bash to get pipefail; it guards against the `curl` command |
68 | 68 | # failing. otherwise `sh` won't catch that `curl` returned non-0 |
69 | 69 | 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" |
71 | 71 | - name: Cache dist |
72 | 72 | uses: actions/upload-artifact@v4 |
73 | 73 | with: |
@@ -147,7 +147,7 @@ jobs: |
147 | 147 | dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} > dist-manifest.json |
148 | 148 | echo "dist ran successfully" |
149 | 149 | - name: Attest |
150 | | - uses: actions/attest-build-provenance@v1 |
| 150 | + uses: actions/attest-build-provenance@v2 |
151 | 151 | with: |
152 | 152 | subject-path: "target/distrib/*${{ join(matrix.targets, ', ') }}*" |
153 | 153 | - id: cargo-dist |
@@ -176,7 +176,7 @@ jobs: |
176 | 176 | needs: |
177 | 177 | - plan |
178 | 178 | - build-local-artifacts |
179 | | - runs-on: "ubuntu-20.04" |
| 179 | + runs-on: "ubuntu-24.04" |
180 | 180 | env: |
181 | 181 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
182 | 182 | BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json |
@@ -236,7 +236,7 @@ jobs: |
236 | 236 | env: |
237 | 237 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
238 | 238 | AXO_RELEASES_TOKEN: ${{ secrets.AXO_RELEASES_TOKEN }} |
239 | | - runs-on: "ubuntu-20.04" |
| 239 | + runs-on: "ubuntu-24.04" |
240 | 240 | outputs: |
241 | 241 | val: ${{ steps.host.outputs.manifest }} |
242 | 242 | steps: |
@@ -276,7 +276,7 @@ jobs: |
276 | 276 | needs: |
277 | 277 | - plan |
278 | 278 | - host |
279 | | - runs-on: "ubuntu-20.04" |
| 279 | + runs-on: "ubuntu-24.04" |
280 | 280 | env: |
281 | 281 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
282 | 282 | PLAN: ${{ needs.plan.outputs.val }} |
@@ -321,7 +321,7 @@ jobs: |
321 | 321 | needs: |
322 | 322 | - plan |
323 | 323 | - host |
324 | | - runs-on: "ubuntu-20.04" |
| 324 | + runs-on: "ubuntu-24.04" |
325 | 325 | env: |
326 | 326 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
327 | 327 | PLAN: ${{ needs.plan.outputs.val }} |
@@ -372,7 +372,7 @@ jobs: |
372 | 372 | # still allowing individual publish jobs to skip themselves (for prereleases). |
373 | 373 | # "host" however must run to completion, no skipping allowed! |
374 | 374 | 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" |
376 | 376 | env: |
377 | 377 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
378 | 378 | AXO_RELEASES_TOKEN: ${{ secrets.AXO_RELEASES_TOKEN }} |
|
0 commit comments