diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/main.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..6d8d965 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,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 }} |