@@ -86,13 +86,12 @@ jobs:
8686 archive : srcdump-$tag-$target
8787 ref : refs/tags/${{ needs.setup.outputs.version }}
8888 dry-run : true # always build-only here; `publish` does the upload
89- checksum : sha256
9089 - name : Collect the slim archive
9190 shell : bash
9291 run : |
9392 set -euo pipefail
94- # taiki-e builds `srcdump-<version>-<target>.{tar.gz,zip}` (+ .sha256);
95- # find it wherever it landed and stage it for upload.
93+ # taiki-e builds `srcdump-<version>-<target>.{tar.gz,zip}`; find it
94+ # wherever it landed and stage it for upload.
9695 mkdir -p out
9796 find . -type f -name "srcdump-${{ needs.setup.outputs.version }}-${{ matrix.target }}.*" \
9897 -exec cp {} out/ \;
@@ -168,11 +167,6 @@ jobs:
168167 [ "${{ runner.os }}" = "Windows" ] || chmod +x "$bin"
169168 python scripts/build_release.py \
170169 --full-only --srcdump "$bin" --archive-version "${{ needs.setup.outputs.version }}"
171- - name : Checksum the full archive
172- shell : bash
173- run : |
174- set -euo pipefail
175- python scripts/sha256sum.py dist/*-full.*
176170 - name : Stash full archive as a workflow artifact
177171 uses : actions/upload-artifact@v4
178172 with :
@@ -193,10 +187,23 @@ jobs:
193187 merge-multiple : true
194188 - name : List artifacts
195189 run : ls -la release
190+ - name : Build release notes with checksums
191+ shell : bash
192+ run : |
193+ set -euo pipefail
194+ {
195+ echo "### SHA-256 checksums"
196+ echo
197+ echo '```'
198+ ( cd release && sha256sum * )
199+ echo '```'
200+ } > notes.md
201+ cat notes.md
196202 - name : Create the GitHub Release
197203 uses : softprops/action-gh-release@v2
198204 with :
199205 tag_name : ${{ needs.setup.outputs.version }}
206+ body_path : notes.md
200207 files : release/*
201208 fail_on_unmatched_files : true
202209 token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments