Files
HandyControl/.github/workflows/build.yml
T
2020-06-18 22:44:34 +08:00

31 lines
772 B
YAML

name: build
on:
push:
branches:
- master
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup Nuget.exe
uses: nuget/setup-nuget@master
- 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-preview.5.20279.10'
- name: Build Net_40
run: dotnet build src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj -p:Configuration=Release-Net40
- name: Build Net_45
run: dotnet build src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj -p:Configuration=Release