每次有代码提交都自动加上构建测试
This commit is contained in:
1 parent
30f48ed612
commit
511654869f
1 file changed
+1
-15
@@ -1,9 +1,6 @@
|
||||
name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -12,17 +9,6 @@ jobs:
|
||||
- name: Checkout
|
||||
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
|
||||
run: dotnet build src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj -p:Configuration=Release-Net40
|
||||
|
||||
|
||||
Reference in new issue
Block a user