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
22#
33# Copyright 2022-2024, axodotdev
4+ # Copyright 2025 Astral Software Inc.
45# SPDX-License-Identifier: MIT or Apache-2.0
56#
67# CI that:
4748jobs :
4849 # Run 'dist plan' (or host) to determine what tasks we need to do
4950 plan :
50- runs-on : " ubuntu-24 .04"
51+ runs-on : " ubuntu-22 .04"
5152 outputs :
5253 val : ${{ steps.plan.outputs.manifest }}
5354 tag : ${{ !github.event.pull_request && github.ref_name || '' }}
@@ -58,12 +59,13 @@ jobs:
5859 steps :
5960 - uses : actions/checkout@v4
6061 with :
62+ persist-credentials : false
6163 submodules : recursive
6264 - name : Install dist
6365 # we specify bash to get pipefail; it guards against the `curl` command
6466 # failing. otherwise `sh` won't catch that `curl` returned non-0
6567 shell : bash
66- 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.6 /cargo-dist-installer.sh | sh"
6769 - name : Cache dist
6870 uses : actions/upload-artifact@v4
6971 with :
@@ -117,6 +119,7 @@ jobs:
117119 git config --global core.longpaths true
118120 - uses : actions/checkout@v4
119121 with :
122+ persist-credentials : false
120123 submodules : recursive
121124 - name : Install Rust non-interactively if not already installed
122125 if : ${{ matrix.container }}
@@ -168,13 +171,14 @@ jobs:
168171 needs :
169172 - plan
170173 - build-local-artifacts
171- runs-on : " ubuntu-20 .04"
174+ runs-on : " ubuntu-22 .04"
172175 env :
173176 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
174177 BUILD_MANIFEST_NAME : target/distrib/global-dist-manifest.json
175178 steps :
176179 - uses : actions/checkout@v4
177180 with :
181+ persist-credentials : false
178182 submodules : recursive
179183 - name : Install cached dist
180184 uses : actions/download-artifact@v4
@@ -218,12 +222,13 @@ jobs:
218222 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') }}
219223 env :
220224 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
221- runs-on : " ubuntu-20 .04"
225+ runs-on : " ubuntu-22 .04"
222226 outputs :
223227 val : ${{ steps.host.outputs.manifest }}
224228 steps :
225229 - uses : actions/checkout@v4
226230 with :
231+ persist-credentials : false
227232 submodules : recursive
228233 - name : Install cached dist
229234 uses : actions/download-artifact@v4
@@ -282,10 +287,11 @@ jobs:
282287 # still allowing individual publish jobs to skip themselves (for prereleases).
283288 # "host" however must run to completion, no skipping allowed!
284289 if : ${{ always() && needs.host.result == 'success' }}
285- runs-on : " ubuntu-20 .04"
290+ runs-on : " ubuntu-22 .04"
286291 env :
287292 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
288293 steps :
289294 - uses : actions/checkout@v4
290295 with :
296+ persist-credentials : false
291297 submodules : recursive
0 commit comments