Skip to content

Commit

Permalink
fix: add sources sub zst and standalone binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Curstantine committed Jan 30, 2024
1 parent 3177b3c commit beef529
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
- name: Build
run: cargo build --release

- name: Install post-build dependencies
run: |
sudo apt-get update
sudo apt-get install -y tar zstd
- name: Move tab completion files
run: |
mkdir -p sources/completions
Expand All @@ -27,7 +32,12 @@ jobs:
mv target/release/tab_completions/osu_helper_script.bash sources/completions/bash
mv target/release/tab_completions/osu_helper_script.fish sources/completions/fish
- name: Package source with tar
run: tar --zstd -cvf "sources.tar.zst" -C sources/ .

- name: Create release
uses: softprops/action-gh-release@v1
with:
files: sources/**/*
files: |
sources/osu_helper_script
sources.tar.zst

0 comments on commit beef529

Please sign in to comment.