Skip to content

Commit

Permalink
fix: include one sha per file
Browse files Browse the repository at this point in the history
  • Loading branch information
wassimk committed Jun 8, 2024
1 parent 66ecf5e commit 3ac21f3
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,13 @@ jobs:
fi
cd -
- name: Generate SHA-256
run: shasum -a 256 > ${{ matrix.platform.name }}-sha.txt

- name: Publish release artifacts
uses: actions/upload-artifact@v4
with:
name: elgato-light-${{ matrix.platform.os_name }}
path: "elgato-light-*"

- name: Generate SHA-256
run: echo "$(shasum -a 256 ${{ matrix.platform.name }} | awk '{print $1}') - ${{ matrix.platform.name }}" >> shas.txt

- name: Publish GitHub release
uses: softprops/action-gh-release@v2
with:
draft: true
files: |
elgato-light*
shas.txt
path: |
"elgato-light-*"
"*-sha.txt"

0 comments on commit 3ac21f3

Please sign in to comment.