mirror of
https://github.com/colhountech/DarkUI.Net5.git
synced 2025-07-05 00:19:27 +03:00
37 lines
710 B
YAML
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
|
|
|