add gh action for windows

This commit is contained in:
Cole Mickens 2021-01-11 18:44:12 -06:00
parent 7a4eabafac
commit 9da67732d5
No known key found for this signature in database
GPG key ID: B475C2955744A019

28
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,28 @@
name: Release
on: [push]
env:
CARGO_TERM_COLOR: always
jobs:
windows:
runs-on: windows-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
- name: Test
run: cargo test --release
- name: Build
run: cargo build --release
- name: Upload portable executable
uses: actions/upload-artifact@v2
with:
name: release
path: |
target/release/*.exe