Skip to content

Commit

Permalink
eeeee
Browse files Browse the repository at this point in the history
  • Loading branch information
jupyterkat committed Jun 11, 2024
1 parent 01539ee commit 237906c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,14 @@ jobs:
if: matrix.os == 'ubuntu-20.04'

- name: Generate checksum for release files
uses: jmgilman/actions-generate-checksum@v1
id: checksum
uses: Huy-Ngo/gha-sha@v1.1.0
with:
patterns: "target/${{ matrix.target_name }}/release/${{ matrix.artifact_name }}"
output: ${{ matrix.artifact_name }}.sha256
glob: "target/${{ matrix.target_name }}/release/${{ matrix.artifact_name }}"

- name: Write checksum to a file
run: |
echo ${{ steps.checksum.outputs.sha256-checksum.value }} >> ${{ matrix.artifact_name }}.sha256
- name: Upload checksum files to release
uses: svenstaro/upload-release-action@v1-release
Expand Down

0 comments on commit 237906c

Please sign in to comment.