Skip to content

Commit

Permalink
archive binary and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
akhildevelops committed Dec 24, 2024
1 parent e1c7877 commit 3e37b58
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ jobs:
with:
command: build
args: --release --bin fake --features cli
# TODO: Support generating for multiple targets.
# https://stackoverflow.com/questions/73498168/github-actions-merge-artifacts-after-matrix-steps
- name: Archive Binary
run: |
tar cvzf fake-${{ github.ref_name }}-linux-x86_64.tar.gz target/release/fake README.md
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
target/release/fake
README.md
fake-${{ github.ref_name }}-linux-x86_64.tar.gz

0 comments on commit 3e37b58

Please sign in to comment.