Skip to content

Commit

Permalink
.github/workflows/gen-images: add summary
Browse files Browse the repository at this point in the history
  • Loading branch information
classabbyamp committed Mar 12, 2024
1 parent 6a2d362 commit 0aea4b5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/gen-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,25 @@ 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

0 comments on commit 0aea4b5

Please sign in to comment.