|
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-latest" |
53 | 53 | outputs: |
54 | 54 | val: ${{ steps.plan.outputs.manifest }} |
55 | 55 | tag: ${{ !github.event.pull_request && github.ref_name || '' }} |
@@ -120,13 +120,8 @@ jobs: |
120 | 120 | - uses: actions/checkout@v4 |
121 | 121 | with: |
122 | 122 | submodules: recursive |
123 | | - - name: Install Rust non-interactively if not already installed |
124 | | - if: ${{ matrix.container }} |
125 | | - run: | |
126 | | - if ! command -v cargo > /dev/null 2>&1; then |
127 | | - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y |
128 | | - echo "$HOME/.cargo/bin" >> $GITHUB_PATH |
129 | | - fi |
| 123 | + - name: Install Rust |
| 124 | + uses: actions-rust-lang/setup-rust-toolchain@v1 |
130 | 125 | - uses: swatinem/rust-cache@v2 |
131 | 126 | with: |
132 | 127 | key: ${{ join(matrix.targets, '-') }} |
@@ -181,7 +176,7 @@ jobs: |
181 | 176 | needs: |
182 | 177 | - plan |
183 | 178 | - build-local-artifacts |
184 | | - runs-on: "ubuntu-20.04" |
| 179 | + runs-on: "ubuntu-latest" |
185 | 180 | env: |
186 | 181 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
187 | 182 | BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json |
@@ -231,7 +226,7 @@ jobs: |
231 | 226 | 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') }} |
232 | 227 | env: |
233 | 228 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
234 | | - runs-on: "ubuntu-20.04" |
| 229 | + runs-on: "ubuntu-latest" |
235 | 230 | outputs: |
236 | 231 | val: ${{ steps.host.outputs.manifest }} |
237 | 232 | steps: |
@@ -295,7 +290,7 @@ jobs: |
295 | 290 | # still allowing individual publish jobs to skip themselves (for prereleases). |
296 | 291 | # "host" however must run to completion, no skipping allowed! |
297 | 292 | if: ${{ always() && needs.host.result == 'success' }} |
298 | | - runs-on: "ubuntu-20.04" |
| 293 | + runs-on: "ubuntu-latest" |
299 | 294 | env: |
300 | 295 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
301 | 296 | steps: |
|
0 commit comments