Skip to content

Commit

Permalink
Use 7z file for release
Browse files Browse the repository at this point in the history
- Allows to include documentation and preserve executable bit
  • Loading branch information
pulkomandy committed Nov 6, 2023
1 parent c8f9b51 commit a143ce9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,17 @@
- name: checkout repo
uses: actions/checkout@master
- name: build application
run: make
shell: bash
run: make release
- name: Upload release assets
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
# This is how it will be named on the release page. Put hatever name
# you like, remember that they need to be different for each platform.
# You can choose any build matrix parameters. For Rust I use the
# target triple.
asset_name: hideur_maikeur-${{ matrix.config.os }}
asset_name: hideur_maikeur-${{ matrix.config.os }}-${{ github.ref_name }}.7z
# The path to the file you want to upload.
asset_path: ./hideur
asset_path: ./hideur.7z
# probably you will need to change it, but most likely you are
# uploading a binary file
asset_content_type: application/octet-stream
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ superclean :
idiot :
@echo Agaaaa...gagaga.


release: hideur
7z a hideur.7z ALIRE README.md hideur*

0 comments on commit a143ce9

Please sign in to comment.