diff options
| author | nzbr <mail@nzbr.de> | 2022-04-10 23:32:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-10 23:32:04 +0200 |
| commit | ed22ac69b5d61d397ebc2cc7fd5237cfcb2eccd4 (patch) | |
| tree | e83f8eac40535b06743920676b8b849c442518e6 /.github/workflows | |
| parent | b98df554deca9a1064e20dce9a4de63d1e7c9937 (diff) | |
attach sha256 checksums for release tarballs
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/main.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index abebc24..c61332e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,12 +59,20 @@ jobs: - uses: actions/download-artifact@v2 with: name: installer + + - name: Generate checksums + run: | + for x in *.tar.gz; do + sha256sum $x > ${x}.sha256 + done - name: Attach to release uses: softprops/action-gh-release@v1 with: files: | nixos-wsl-x86_64-linux.tar.gz + nixos-wsl-x86_64-linux.tar.gz.sha256 nixos-wsl-installer.tar.gz + nixos-wsl-installer.tar.gz.sha256 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
