1
1
# This file was autogenerated by dist: https://github.com/astral-sh/cargo-dist
2
2
#
3
+ # Copyright 2022-2024, axodotdev
3
4
# Copyright 2025 Astral Software Inc.
4
5
# SPDX-License-Identifier: MIT or Apache-2.0
5
6
#
@@ -59,16 +60,17 @@ jobs:
59
60
env :
60
61
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
61
62
steps :
62
- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
63
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
63
64
with :
65
+ persist-credentials : false
64
66
submodules : recursive
65
67
- name : Install dist
66
68
# we specify bash to get pipefail; it guards against the `curl` command
67
69
# failing. otherwise `sh` won't catch that `curl` returned non-0
68
70
shell : bash
69
- run : " curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/cargo-dist/releases/download/v0.28.3 /cargo-dist-installer.sh | sh"
71
+ run : " curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/cargo-dist/releases/download/v0.28.4-prerelease.1 /cargo-dist-installer.sh | sh"
70
72
- name : Cache dist
71
- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
73
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
72
74
with :
73
75
name : cargo-dist-cache
74
76
path : ~/.cargo/bin/dist
84
86
cat plan-dist-manifest.json
85
87
echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT"
86
88
- name : " Upload dist-manifest.json"
87
- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
89
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
88
90
with :
89
91
name : artifacts-plan-dist-manifest
90
92
path : plan-dist-manifest.json
@@ -121,18 +123,19 @@ jobs:
121
123
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
122
124
BUILD_MANIFEST_NAME : target/distrib/global-dist-manifest.json
123
125
steps :
124
- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
126
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
125
127
with :
128
+ persist-credentials : false
126
129
submodules : recursive
127
130
- name : Install cached dist
128
- uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
131
+ uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e
129
132
with :
130
133
name : cargo-dist-cache
131
134
path : ~/.cargo/bin/
132
135
- run : chmod +x ~/.cargo/bin/dist
133
136
# Get all the local artifacts for the global tasks to use (for e.g. checksums)
134
137
- name : Fetch local artifacts
135
- uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
138
+ uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e
136
139
with :
137
140
pattern : artifacts-*
138
141
path : target/distrib/
@@ -150,7 +153,7 @@ jobs:
150
153
151
154
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
152
155
- name : " Upload artifacts"
153
- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
156
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
154
157
with :
155
158
name : artifacts-build-global
156
159
path : |
@@ -171,18 +174,19 @@ jobs:
171
174
outputs :
172
175
val : ${{ steps.host.outputs.manifest }}
173
176
steps :
174
- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
177
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
175
178
with :
179
+ persist-credentials : false
176
180
submodules : recursive
177
181
- name : Install cached dist
178
- uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
182
+ uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e
179
183
with :
180
184
name : cargo-dist-cache
181
185
path : ~/.cargo/bin/
182
186
- run : chmod +x ~/.cargo/bin/dist
183
187
# Fetch artifacts from scratch-storage
184
188
- name : Fetch artifacts
185
- uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
189
+ uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e
186
190
with :
187
191
pattern : artifacts-*
188
192
path : target/distrib/
@@ -196,7 +200,7 @@ jobs:
196
200
cat dist-manifest.json
197
201
echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
198
202
- name : " Upload dist-manifest.json"
199
- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
203
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
200
204
with :
201
205
# Overwrite the previous copy
202
206
name : artifacts-dist-manifest
@@ -246,12 +250,13 @@ jobs:
246
250
env :
247
251
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
248
252
steps :
249
- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
253
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
250
254
with :
255
+ persist-credentials : false
251
256
submodules : recursive
252
257
# Create a GitHub Release while uploading all files to it
253
258
- name : " Download GitHub Artifacts"
254
- uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
259
+ uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e
255
260
with :
256
261
pattern : artifacts-*
257
262
path : artifacts
0 commit comments