.github/workflows/gen-images: add summary

This commit is contained in:
classabbyamp 2024-03-12 07:29:25 -04:00
parent 6a2d3620f3
commit 8c83981f0b
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
1 changed files with 15 additions and 0 deletions

View File

@ -328,9 +328,24 @@ jobs:
run: |
make checksum DATECODE="${{ needs.prepare.outputs.datecode }}"
- name: Upload artifacts
id: upload
uses: actions/upload-artifact@v4
with:
name: void-live-${{ needs.prepare.outputs.datecode }}
path: |
distdir-${{ needs.prepare.outputs.datecode }}/*
if-no-files-found: error
- name: Generate summary
run: |
cat << EOF >> "$GITHUB_STEP_SUMMARY"
## Images generated successfully!
### Download
Download the result of this run with \`./release.sh "${{ github.run_id }}" -- -R "${{ github.repository }}"\` or use [this url](${{ steps.upload.outputs.artifact-url }}).
### Checksums
\`\`\`
$(cat distdir-${{ needs.prepare.outputs.datecode }}/sha256sum.txt)
\`\`\`
EOF