build: 增加自动编译 actions 脚本

This commit is contained in:
Argo Zhang 2019-09-05 01:17:12 +08:00
parent 65926abb0b
commit 06c2b29ca1
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 22 additions and 0 deletions

22
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Auto Build CI
on:
push:
branches:
- master
- dev-Actions
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 2.2.108
- name: Build with dotnet
run: dotnet build src/admin/Bootstrap.Admin/ --configuration Release