HandyControl/.github/workflows/build.yml
2020-11-14 23:29:44 +08:00

31 lines
753 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@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
- name: Build Net_GE45
run: dotnet build src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj -p:Configuration=Release