Skip to content

Commit

Permalink
add checksum for all binaries created on release
Browse files Browse the repository at this point in the history
  • Loading branch information
aldrinjenson committed Sep 20, 2023
1 parent 61b95df commit 9992eb7
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@ name: Release builds for Mac(64bit, Arm), Windows and Linux(64 bit, Arm)

on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+*
paths-ignore:
- "docs/**"
- "helm/**"
- "assets/**"
- "**.md"

jobs:
build-linux:
Expand Down Expand Up @@ -135,3 +128,28 @@ jobs:
files: Parseable_${{ matrix.target }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

create-checksum:
runs-on: ubuntu-latest
needs: [build-linux, build-windows, build-mac]
steps:
- uses: actions/checkout@v3

- name: Download artifacts created
uses: actions/download-artifact@v3

- name: Display structure of downloaded files
run: ls -R

- name: Run shasum command
run: |
shasum Parseable* > checksum.txt; cat checksum.txt
# - name: Publish Check Sum to Release Page
# uses: softprops/[email protected]
# if: ${{ startsWith(github.ref, 'refs/tags/') }}
# with:
# draft: false
# files: checksum.txt
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9992eb7

Please sign in to comment.