-
-
Notifications
You must be signed in to change notification settings - Fork 30
29 lines (27 loc) · 607 Bytes
/
main.yml
File metadata and controls
29 lines (27 loc) · 607 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Main
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Stable rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build
run: |
cargo build --verbose --release
mv target/release/bk bk-linux
strip bk-linux
- name: Release
uses: softprops/action-gh-release@v1
with:
files: bk-linux
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}