-
Notifications
You must be signed in to change notification settings - Fork 24
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
Showing
1 changed file
with
11 additions
and
2 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 |
---|---|---|
|
@@ -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) }} |