6464 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6565 steps :
6666 - name : Secure runner
67- uses : tempoxyz/gh-actions/actions/secure-runner@117919c943b804057be733b0c4034c5542e58959
67+ uses : tempoxyz/gh-actions/actions/secure-runner@117919c943b804057be733b0c4034c5542e58959 # 2026-09-23T05-09-41Z-117919c9
6868 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
6969 with :
7070 persist-credentials : false
9090 env :
9191 DIST_SUBCOMMAND : ${{ (!github.event.pull_request && format('host --steps=create --tag={0}', github.ref_name)) || 'plan' }}
9292 run : |
93- dist $DIST_SUBCOMMAND --output-format=json > plan-dist-manifest.json
93+ read -r -a dist_subcommand_args <<< "$DIST_SUBCOMMAND"
94+ dist "${dist_subcommand_args[@]}" --output-format=json > plan-dist-manifest.json
9495 # Job containers and Intel macOS hosts cannot run this Aegis release.
9596 jq -e 'all(.ci.github.artifacts_matrix.include[]; .container == null and .host != "x86_64-apple-darwin")' plan-dist-manifest.json
9697 echo "dist ran successfully"
@@ -131,7 +132,7 @@ jobs:
131132 BUILD_MANIFEST_NAME : target/distrib/${{ join(matrix.targets, '-') }}-dist-manifest.json
132133 steps :
133134 - name : Secure runner
134- uses : tempoxyz/gh-actions/actions/secure-runner@117919c943b804057be733b0c4034c5542e58959
135+ uses : tempoxyz/gh-actions/actions/secure-runner@117919c943b804057be733b0c4034c5542e58959 # 2026-09-23T05-09-41Z-117919c9
135136 - name : enable windows longpaths
136137 run : |
137138 git config --global core.longpaths true
@@ -162,8 +163,10 @@ jobs:
162163 TAG_FLAG : ${{ needs.plan.outputs.tag-flag }}
163164 DIST_ARGS : ${{ matrix.dist_args }}
164165 run : |
166+ read -r -a tag_flag_args <<< "$TAG_FLAG"
167+ read -r -a dist_args_args <<< "$DIST_ARGS"
165168 # Actually do builds and make zips and whatnot
166- dist build $TAG_FLAG --print=linkage --output-format=json $DIST_ARGS > dist-manifest.json
169+ dist build "${tag_flag_args[@]}" --print=linkage --output-format=json "${dist_args_args[@]}" > dist-manifest.json
167170 echo "dist ran successfully"
168171 - id : cargo-dist
169172 name : Post-build
@@ -173,9 +176,11 @@ jobs:
173176 shell : bash
174177 run : |
175178 # Parse out what we just built and upload it to scratch storage
176- echo "paths<<EOF" >> "$GITHUB_OUTPUT"
177- dist print-upload-files-from-manifest --manifest dist-manifest.json >> "$GITHUB_OUTPUT"
178- echo "EOF" >> "$GITHUB_OUTPUT"
179+ {
180+ echo "paths<<EOF"
181+ dist print-upload-files-from-manifest --manifest dist-manifest.json
182+ echo "EOF"
183+ } >> "$GITHUB_OUTPUT"
179184
180185 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
181186 - name : " Upload artifacts"
@@ -200,7 +205,7 @@ jobs:
200205 BUILD_MANIFEST_NAME : target/distrib/global-dist-manifest.json
201206 steps :
202207 - name : Secure runner
203- uses : tempoxyz/gh-actions/actions/secure-runner@117919c943b804057be733b0c4034c5542e58959
208+ uses : tempoxyz/gh-actions/actions/secure-runner@117919c943b804057be733b0c4034c5542e58959 # 2026-09-23T05-09-41Z-117919c9
204209 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
205210 with :
206211 persist-credentials : false
@@ -225,13 +230,16 @@ jobs:
225230 env :
226231 TAG_FLAG : ${{ needs.plan.outputs.tag-flag }}
227232 run : |
228- dist build $TAG_FLAG --output-format=json "--artifacts=global" > dist-manifest.json
233+ read -r -a tag_flag_args <<< "$TAG_FLAG"
234+ dist build "${tag_flag_args[@]}" --output-format=json "--artifacts=global" > dist-manifest.json
229235 echo "dist ran successfully"
230236
231237 # Parse out what we just built and upload it to scratch storage
232- echo "paths<<EOF" >> "$GITHUB_OUTPUT"
233- jq --raw-output ".upload_files[]" dist-manifest.json >> "$GITHUB_OUTPUT"
234- echo "EOF" >> "$GITHUB_OUTPUT"
238+ {
239+ echo "paths<<EOF"
240+ jq --raw-output ".upload_files[]" dist-manifest.json
241+ echo "EOF"
242+ } >> "$GITHUB_OUTPUT"
235243
236244 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
237245 - name : " Upload artifacts"
@@ -259,7 +267,7 @@ jobs:
259267 val : ${{ steps.host.outputs.manifest }}
260268 steps :
261269 - name : Secure runner
262- uses : tempoxyz/gh-actions/actions/secure-runner@117919c943b804057be733b0c4034c5542e58959
270+ uses : tempoxyz/gh-actions/actions/secure-runner@117919c943b804057be733b0c4034c5542e58959 # 2026-09-23T05-09-41Z-117919c9
263271 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
264272 with :
265273 persist-credentials : false
@@ -285,7 +293,8 @@ jobs:
285293 env :
286294 TAG_FLAG : ${{ needs.plan.outputs.tag-flag }}
287295 run : |
288- dist host $TAG_FLAG --steps=upload --steps=release --output-format=json > dist-manifest.json
296+ read -r -a tag_flag_args <<< "$TAG_FLAG"
297+ dist host "${tag_flag_args[@]}" --steps=upload --steps=release --output-format=json > dist-manifest.json
289298 echo "artifacts uploaded and released successfully"
290299 cat dist-manifest.json
291300 echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
@@ -313,7 +322,7 @@ jobs:
313322 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
314323 steps :
315324 - name : Secure runner
316- uses : tempoxyz/gh-actions/actions/secure-runner@117919c943b804057be733b0c4034c5542e58959
325+ uses : tempoxyz/gh-actions/actions/secure-runner@117919c943b804057be733b0c4034c5542e58959 # 2026-09-23T05-09-41Z-117919c9
317326 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
318327 with :
319328 persist-credentials : false
@@ -337,7 +346,8 @@ jobs:
337346 RELEASE_COMMIT : " ${{ github.sha }}"
338347 RELEASE_TAG : " ${{ needs.plan.outputs.tag }}"
339348 run : |
349+ read -r -a prerelease_flag_args <<< "$PRERELEASE_FLAG"
340350 # Write and read notes from a file to avoid quoting breaking things
341- echo "$ANNOUNCEMENT_BODY" > $RUNNER_TEMP/notes.txt
351+ echo "$ANNOUNCEMENT_BODY" > " $RUNNER_TEMP/notes.txt"
342352
343- gh release create "$RELEASE_TAG" --target "$RELEASE_COMMIT" $PRERELEASE_FLAG --title "$ANNOUNCEMENT_TITLE" --notes-file "$RUNNER_TEMP/notes.txt" artifacts/*
353+ gh release create "$RELEASE_TAG" --target "$RELEASE_COMMIT" "${prerelease_flag_args[@]}" --title "$ANNOUNCEMENT_TITLE" --notes-file "$RUNNER_TEMP/notes.txt" artifacts/*
0 commit comments