Merge pull request #526 from dotnet-campus/t/lindexi/ci
每次有代码提交都自动加上构建测试
This commit is contained in:
1 file changed
+1
-15
@@ -1,9 +1,6 @@
|
|||||||
name: build
|
name: build
|
||||||
|
|
||||||
on:
|
on: [push, pull_request]
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -12,17 +9,6 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
|
||||||
- name: Setup Nuget.exe
|
|
||||||
uses: nuget/setup-nuget@main
|
|
||||||
|
|
||||||
- name: Restore Nuget packages
|
|
||||||
run: nuget restore src/HandyControl.sln
|
|
||||||
|
|
||||||
- name: Setup .NET Core
|
|
||||||
uses: actions/setup-dotnet@master
|
|
||||||
with:
|
|
||||||
dotnet-version: '5.0.100'
|
|
||||||
|
|
||||||
- name: Build Net_40
|
- name: Build Net_40
|
||||||
run: dotnet build src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj -p:Configuration=Release-Net40
|
run: dotnet build src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj -p:Configuration=Release-Net40
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user