Update upload artifact #36
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: | |
| - actions-test | |
| jobs: | |
| build_ubuntu: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install dependencies | |
| run: | | |
| export DEBIAN_FRONTED=noninteractive | |
| sudo apt-get -qq update | |
| sudo apt-get install -y libxkbcommon-dev libudev-dev build-essential linux-tools-common pkg-config libssl-dev libusb-1.0-0-dev clang | |
| - name: Build ubuntu binary | |
| run: cargo build --verbose --release | |
| - name: Open binary via double-click | |
| run: chmod +x target/release/slimevr-wrangler | |
| - name: Archive ubuntu binary | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: slimevr-wrangler | |
| path: target/release/slimevr-wrangler |