|
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 || '' }} |
@@ -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@v2 |
| 150 | + uses: actions/attest-build-provenance@v1 |
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-22.04" |
180 | 180 | env: |
181 | 181 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
182 | 182 | BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json |
@@ -245,7 +245,7 @@ jobs: |
245 | 245 | 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') }} |
246 | 246 | env: |
247 | 247 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
248 | | - runs-on: "ubuntu-20.04" |
| 248 | + runs-on: "ubuntu-22.04" |
249 | 249 | outputs: |
250 | 250 | val: ${{ steps.host.outputs.manifest }} |
251 | 251 | steps: |
@@ -305,7 +305,7 @@ jobs: |
305 | 305 | needs: |
306 | 306 | - plan |
307 | 307 | - host |
308 | | - runs-on: "ubuntu-20.04" |
| 308 | + runs-on: "ubuntu-22.04" |
309 | 309 | env: |
310 | 310 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
311 | 311 | PLAN: ${{ needs.plan.outputs.val }} |
@@ -355,7 +355,7 @@ jobs: |
355 | 355 | # still allowing individual publish jobs to skip themselves (for prereleases). |
356 | 356 | # "host" however must run to completion, no skipping allowed! |
357 | 357 | if: ${{ always() && needs.host.result == 'success' && (needs.publish-homebrew-formula.result == 'skipped' || needs.publish-homebrew-formula.result == 'success') }} |
358 | | - runs-on: "ubuntu-20.04" |
| 358 | + runs-on: "ubuntu-22.04" |
359 | 359 | env: |
360 | 360 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
361 | 361 | steps: |
|
0 commit comments