Skip to content

Commit

Permalink
added workflow to compute checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
ypujante committed Dec 9, 2024
1 parent ffa8946 commit bdf24ce
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/compute-checksum.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Compute SHA-256 on Release

on:
release:
types: [ published ]

jobs:
compute-checksum:
runs-on: ubuntu-latest

steps:
- name: Compute SHA-256 checksum
run: |
curl -sfL https://github.com/pongasoft/jamba/archive/refs/tags/${{ github.event.release.tag_name }}.zip | sha256sum > ${{ github.event.release.tag_name }}.zip_sha256.txt
- name: Upload checksum to release
uses: softprops/action-gh-release@v2
with:
files: ${{ github.event.release.tag_name }}.zip_sha256.txt

0 comments on commit bdf24ce

Please sign in to comment.