Micheal Colhoun abc16b03ef Update dotnet.yml
Gave up on back supporting net4
2021-09-05 10:59:01 +01:00

37 lines
710 B
YAML

name: CI
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
env:
BUILD_CONFIG: 'Release'
SOLUTION: 'MySolution.sln'
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.0.5
- name: Restore dependencies
run: nuget restore ${SOLUTION}
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Build
run: dotnet build DarkUI.sln --configuration Release
- name: Build Config
run: dotnet build ${SOLUTION} --configuration ${BUILD_CONFIG} --no-restore