build: 增加自动编译 actions 脚本
This commit is contained in:
parent
65926abb0b
commit
06c2b29ca1
|
@ -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
|
Loading…
Reference in New Issue