-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
andrewstech
authored
Apr 25, 2023
1 parent
af75d15
commit a175f56
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |