Create main.yml

Release actions.
This commit is contained in:
House of Vanity
2019-11-23 23:06:15 +03:00
committed by GitHub
parent f3258b52bc
commit ef7f9a5d17

19
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Rust
on: release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build
run: cargo build --verbose --release
- name: Upload to release
uses: JasonEtco/upload-to-release@master
with:
args: target/release/tmux_helper
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}