Small QOL Fixes #24
Workflow file for this run
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
name: Publish | |
permissions: | |
contents: write | |
on: | |
release: | |
types: [created] | |
jobs: | |
publish-rust: | |
name: Publish for ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- if: runner.os == 'Linux' | |
name: Install missing `libgtk-3-dev` | |
run: | | |
sudo apt-get update | |
sudo apt-get install libgtk-3-dev | |
- name: Set up Rust Toolchain | |
run: rustup toolchain install stable --profile minimal | |
# can't use caches in tag scope... thanks github! | |
- name: Publish CLI Binary | |
uses: taiki-e/upload-rust-binary-action@v1 | |
with: | |
# (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload.# Note that glob pattern is not supported yet. | |
bin: kfuz2_cli | |
# (optional) On which platform to distribute the .tar.gz file.# [default value: unix]# [possible values: all, unix, windows, none] | |
tar: unix | |
zip: windows | |
archive: $bin-$tag-$target | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Publish EGUI Binary | |
uses: taiki-e/upload-rust-binary-action@v1 | |
with: | |
# (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload.# Note that glob pattern is not supported yet. | |
bin: kfuz2_egui | |
# (optional) On which platform to distribute the .tar.gz file.# [default value: unix]# [possible values: all, unix, windows, none] | |
tar: unix | |
zip: windows | |
archive: $bin-$tag-$target | |
token: ${{ secrets.GITHUB_TOKEN }} |