Skip to content

Add checksums to release body #8

Add checksums to release body

Add checksums to release body #8

Workflow file for this run

name: Release
#on: [push]
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- '*.*.*' # Release 1.2.3
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
CHANGES.md
sparse-checkout-cone-mode: false
- name: Download artifacts
id: download-artifact
uses: dawidd6/action-download-artifact@v3
with:
skip_unpack: true
workflow: ant.yml
if_no_artifact_found: fail
- name: List artifacts
run: |
echo "" >> CHANGES.md
echo "## Checksums" >> CHANGES.md
echo "" >> CHANGES.md
sha256sum * >> CHANGES.md
- name: Upload artifacts
uses: ncipollo/release-action@v1
with:
artifacts: "*.*"
bodyFile: "CHANGES.md"