@@ -143,6 +143,7 @@ jobs:
143143 echo "paths<<EOF" >> "$GITHUB_OUTPUT"
144144 jq --raw-output ".upload_files[]" dist-manifest.json >> "$GITHUB_OUTPUT"
145145 echo "EOF" >> "$GITHUB_OUTPUT"
146+
146147 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
147148 - name : " Upload artifacts"
148149 uses : actions/upload-artifact@v4
@@ -151,6 +152,7 @@ jobs:
151152 path : |
152153 ${{ steps.cargo-dist.outputs.paths }}
153154 ${{ env.BUILD_MANIFEST_NAME }}
155+
154156 # Build and package all the platform-agnostic(ish) things
155157 build-global-artifacts :
156158 needs :
@@ -182,10 +184,12 @@ jobs:
182184 run : |
183185 cargo dist build ${{ needs.plan.outputs.tag-flag }} --output-format=json "--artifacts=global" > dist-manifest.json
184186 echo "cargo dist ran successfully"
187+
185188 # Parse out what we just built and upload it to scratch storage
186189 echo "paths<<EOF" >> "$GITHUB_OUTPUT"
187190 jq --raw-output ".upload_files[]" dist-manifest.json >> "$GITHUB_OUTPUT"
188191 echo "EOF" >> "$GITHUB_OUTPUT"
192+
189193 cp dist-manifest.json "$BUILD_MANIFEST_NAME"
190194 - name : " Upload artifacts"
191195 uses : actions/upload-artifact@v4
@@ -257,7 +261,9 @@ jobs:
257261 run : |
258262 # Write and read notes from a file to avoid quoting breaking things
259263 echo "$ANNOUNCEMENT_BODY" > $RUNNER_TEMP/notes.txt
264+
260265 gh release create "${{ needs.plan.outputs.tag }}" --target "$RELEASE_COMMIT" $PRERELEASE_FLAG --title "$ANNOUNCEMENT_TITLE" --notes-file "$RUNNER_TEMP/notes.txt" artifacts/*
266+
261267 announce :
262268 needs :
263269 - plan
0 commit comments