Fixed ControlState and assigning speeds under Hyprland #11
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: Build and Upload Binary | |
on: | |
push: | |
branches: | |
- main # only trigger on merges | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
CI: "true" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get project version | |
id: get_version | |
run: | | |
VERSION=$(sed -nE 's/^version = "(.*)"/\1/p' Cargo.toml) | |
echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT" | |
- name: Build project | |
run: | | |
chmod +x ./build.sh | |
export CI=${{ env.CI }} | |
./build.sh | |
- name: Upload Binary | |
uses: actions/upload-artifact@v4 | |
with: | |
name: veridian-controller_${{ steps.get_version.outputs.VERSION }} | |
path: target/appimage/*.* |