From d94199cb8fa4cf6e41319e4c90f5102353f7024b Mon Sep 17 00:00:00 2001 From: Matthew Strasitoto <39424834+matthewstrasiotto@users.noreply.github.com> Date: Fri, 1 Jul 2022 13:29:08 +1000 Subject: [PATCH] ci: add checksum to nightly builds --- .github/workflows/publish-nightly.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/publish-nightly.yml b/.github/workflows/publish-nightly.yml index 8abee27..0d6b025 100644 --- a/.github/workflows/publish-nightly.yml +++ b/.github/workflows/publish-nightly.yml @@ -37,6 +37,15 @@ jobs: path: . dotnet-target: "net6.0" output: _dist + - name: Prepare GitHub Release assets + run: |- + pushd _dist + for file in ./*; do + md5sum ${file#./} >> ${file%.*}.md5 + sha256sum ${file#./} >> ${file%.*}.sha256 + done + ls -l + popd - name: Publish output artifacts id: publish-assets uses: softprops/action-gh-release@50195ba7f6f93d1ac97ba8332a178e008ad176aa