Skip to content

Commit

Permalink
Merge pull request #1 from PeerBrain/andrewstech-patch-1
Browse files Browse the repository at this point in the history
Create sha256.yml
  • Loading branch information
andrewstech authored Apr 25, 2023
2 parents af75d15 + a175f56 commit f443abc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/sha256.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: sha256 release action
run-name: ${{ github.actor }} is publishing release ${{ github.ref_name }}
on:
release:
types: [published]
jobs:
sha256:
name: sha256
runs-on: ubuntu-latest
steps:
- name: url
run: echo "${{ github.server_url }}/${{ github.repository }}/archive/refs/tags/${{ github.ref_name }}.exe"
- name: Create tarball sha256
run: curl -sL "${{ github.server_url }}/${{ github.repository }}/archive/refs/tags/${{ github.ref_name }}.exe" | shasum -a 256 | cut -d " " -f 1

0 comments on commit f443abc

Please sign in to comment.