forked from vers-one/EpubReader
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 785 Bytes
/
Copy pathbuild.yml
File metadata and controls
29 lines (27 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-2022
env:
Configuration: Debug
Solution_Name: Source\EpubReader.sln
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1.3
- name: Restore dependencies
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration /p:RestorePackagesConfig=true
- name: Build solution
run: msbuild $env:Solution_Name /p:Configuration=$env:Configuration