Create build.yml

This commit is contained in:
House of Vanity
2020-04-17 18:31:04 +03:00
committed by GitHub
parent 14e49cc9cd
commit d11098dd75

23
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose --release
- name: Upload to release
uses: JasonEtco/upload-to-release@master
with:
args: target/release/mus_fuse application/x-pie-executable
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}