1- # This file was autogenerated by dist: https://opensource.axo.dev /cargo-dist/
1+ # This file was autogenerated by dist: https://axodotdev.github.io /cargo-dist
22#
33# Copyright 2022-2024, axodotdev
44# SPDX-License-Identifier: MIT or Apache-2.0
@@ -39,14 +39,15 @@ permissions:
3939# If there's a prerelease-style suffix to the version, then the release(s)
4040# will be marked as a prerelease.
4141on :
42+ pull_request :
4243 push :
4344 tags :
4445 - ' **[0-9]+.[0-9]+.[0-9]+*'
4546
4647jobs :
4748 # Run 'dist plan' (or host) to determine what tasks we need to do
4849 plan :
49- runs-on : " ubuntu-20 .04"
50+ runs-on : " ubuntu-22 .04"
5051 outputs :
5152 val : ${{ steps.plan.outputs.manifest }}
5253 tag : ${{ !github.event.pull_request && github.ref_name || '' }}
@@ -57,12 +58,13 @@ jobs:
5758 steps :
5859 - uses : actions/checkout@v4
5960 with :
61+ persist-credentials : false
6062 submodules : recursive
6163 - name : Install dist
6264 # we specify bash to get pipefail; it guards against the `curl` command
6365 # failing. otherwise `sh` won't catch that `curl` returned non-0
6466 shell : bash
65- run : " curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.28 .0/cargo-dist-installer.sh | sh"
67+ run : " curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.29 .0/cargo-dist-installer.sh | sh"
6668 - name : Cache dist
6769 uses : actions/upload-artifact@v4
6870 with :
@@ -116,6 +118,7 @@ jobs:
116118 git config --global core.longpaths true
117119 - uses : actions/checkout@v4
118120 with :
121+ persist-credentials : false
119122 submodules : recursive
120123 - name : Install Rust non-interactively if not already installed
121124 if : ${{ matrix.container }}
@@ -167,13 +170,14 @@ jobs:
167170 needs :
168171 - plan
169172 - build-local-artifacts
170- runs-on : " ubuntu-20 .04"
173+ runs-on : " ubuntu-22 .04"
171174 env :
172175 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
173176 BUILD_MANIFEST_NAME : target/distrib/global-dist-manifest.json
174177 steps :
175178 - uses : actions/checkout@v4
176179 with :
180+ persist-credentials : false
177181 submodules : recursive
178182 - name : Install cached dist
179183 uses : actions/download-artifact@v4
@@ -217,12 +221,13 @@ jobs:
217221 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') }}
218222 env :
219223 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
220- runs-on : " ubuntu-20 .04"
224+ runs-on : " ubuntu-22 .04"
221225 outputs :
222226 val : ${{ steps.host.outputs.manifest }}
223227 steps :
224228 - uses : actions/checkout@v4
225229 with :
230+ persist-credentials : false
226231 submodules : recursive
227232 - name : Install cached dist
228233 uses : actions/download-artifact@v4
@@ -281,10 +286,11 @@ jobs:
281286 # still allowing individual publish jobs to skip themselves (for prereleases).
282287 # "host" however must run to completion, no skipping allowed!
283288 if : ${{ always() && needs.host.result == 'success' }}
284- runs-on : " ubuntu-20 .04"
289+ runs-on : " ubuntu-22 .04"
285290 env :
286291 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
287292 steps :
288293 - uses : actions/checkout@v4
289294 with :
295+ persist-credentials : false
290296 submodules : recursive
0 commit comments