Update and rename main.yml to release-upload.yml

Fix mime type
This commit is contained in:
House of Vanity
2019-11-24 03:32:50 +03:00
committed by GitHub
parent ff94cb630b
commit 0e035e1066

19
.github/workflows/release-upload.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 application/x-pie-executable
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}