Continuously build master branch.

This commit is contained in:
Antoine POPINEAU 2020-06-27 18:52:43 +02:00
parent 24f059ac5d
commit ea9d911ce0
No known key found for this signature in database
GPG Key ID: A78AC64694F84063

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

@ -0,0 +1,33 @@
name: Continuous master build
on:
push:
branches:
- master
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: clippy
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: build
args: --release
- name: Create release
uses: eine/tip@gha-tip
with:
token: ${{ secrets.GITHUB_TOKEN }}
cwd: ${{ github.workspace }}
files: target/release/greetd-tui