Skip to content

v0.0.1

v0.0.1 #9

Workflow file for this run

---
name: Windows
on:
release:
types: [created]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@master
- name: "Rust"
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: "x86_64-pc-windows-gnu"
- name: "Dependencies"
run: sudo apt-get install -y mingw-w64 libudev-dev zip
- name: "Build"
run: cargo build --release --target x86_64-pc-windows-gnu
- name: "Zip"
run: zip -j windows.zip readme.md target/x86_64-pc-windows-gnu/release/*.exe
- name: "Release"
uses: softprops/action-gh-release@v1
with:
files: |
LICENSE
windows.zip