Skip to content

Commit

Permalink
Trying to add sha1 to release
Browse files Browse the repository at this point in the history
  • Loading branch information
cpinte committed Dec 8, 2023
1 parent 4d2539e commit 123e172
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/actions/release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,23 @@ description: "release"
runs:
using: "composite"
steps:
- name: prepare tarball
- name: prepare tarball and checksum
working-directory: src
shell: bash
run: tar -cvzf mcfost.tar.gz mcfost
run: |
tar -cvzf mcfost.tar.gz mcfost
sha1sum mcfost_tar.tgz > mcfost_update.sha1
- name: Add binary to release
uses: shogo82148/[email protected]
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: src/mcfost.tar.gz
asset_name: ${{ format('mcfost_{0}-{1}.tar.gz', runner.os, runner.arch) }}

- name: Add sha1 to release
uses: shogo82148/[email protected]
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: src/mcfost_update.sha1
asset_name: ${{ format('mcfost_{0}-{1}.sha1', runner.os, runner.arch) }}

0 comments on commit 123e172

Please sign in to comment.