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
2
2
#
3
3
# Copyright 2022-2024, axodotdev
4
+ # Copyright 2025 Astral Software Inc.
4
5
# SPDX-License-Identifier: MIT or Apache-2.0
5
6
#
6
7
# CI that:
47
48
jobs :
48
49
# Run 'dist plan' (or host) to determine what tasks we need to do
49
50
plan :
50
- runs-on : " ubuntu-20 .04"
51
+ runs-on : " ubuntu-22 .04"
51
52
outputs :
52
53
val : ${{ steps.plan.outputs.manifest }}
53
54
tag : ${{ !github.event.pull_request && github.ref_name || '' }}
@@ -58,12 +59,13 @@ jobs:
58
59
steps :
59
60
- uses : actions/checkout@v4
60
61
with :
62
+ persist-credentials : false
61
63
submodules : recursive
62
64
- name : Install dist
63
65
# we specify bash to get pipefail; it guards against the `curl` command
64
66
# failing. otherwise `sh` won't catch that `curl` returned non-0
65
67
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.5 /cargo-dist-installer.sh | sh"
67
69
- name : Cache dist
68
70
uses : actions/upload-artifact@v4
69
71
with :
@@ -117,6 +119,7 @@ jobs:
117
119
git config --global core.longpaths true
118
120
- uses : actions/checkout@v4
119
121
with :
122
+ persist-credentials : false
120
123
submodules : recursive
121
124
- name : Install Rust non-interactively if not already installed
122
125
if : ${{ matrix.container }}
@@ -168,13 +171,14 @@ jobs:
168
171
needs :
169
172
- plan
170
173
- build-local-artifacts
171
- runs-on : " ubuntu-20 .04"
174
+ runs-on : " ubuntu-22 .04"
172
175
env :
173
176
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
174
177
BUILD_MANIFEST_NAME : target/distrib/global-dist-manifest.json
175
178
steps :
176
179
- uses : actions/checkout@v4
177
180
with :
181
+ persist-credentials : false
178
182
submodules : recursive
179
183
- name : Install cached dist
180
184
uses : actions/download-artifact@v4
@@ -218,12 +222,13 @@ jobs:
218
222
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') }}
219
223
env :
220
224
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
221
- runs-on : " ubuntu-20 .04"
225
+ runs-on : " ubuntu-22 .04"
222
226
outputs :
223
227
val : ${{ steps.host.outputs.manifest }}
224
228
steps :
225
229
- uses : actions/checkout@v4
226
230
with :
231
+ persist-credentials : false
227
232
submodules : recursive
228
233
- name : Install cached dist
229
234
uses : actions/download-artifact@v4
@@ -282,10 +287,11 @@ jobs:
282
287
# still allowing individual publish jobs to skip themselves (for prereleases).
283
288
# "host" however must run to completion, no skipping allowed!
284
289
if : ${{ always() && needs.host.result == 'success' }}
285
- runs-on : " ubuntu-20 .04"
290
+ runs-on : " ubuntu-22 .04"
286
291
env :
287
292
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
288
293
steps :
289
294
- uses : actions/checkout@v4
290
295
with :
296
+ persist-credentials : false
291
297
submodules : recursive
0 commit comments