-
Notifications
You must be signed in to change notification settings - Fork 8
34 lines (25 loc) · 826 Bytes
/
build.yml
File metadata and controls
34 lines (25 loc) · 826 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
30
31
32
33
34
name: Build
on:
push:
branches: [ master, main ]
# pull_request:
# branches: [ master, main ]
jobs:
build:
timeout-minutes: 10
runs-on: 'windows-2022'
steps:
- uses: actions/checkout@v3
- name: Setup MSBuild path
uses: microsoft/setup-msbuild@v1.1
- name: Setup dot net
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Restore NuGet packages
run: nuget restore MFilesAPI.Extensions.sln
- name: Build solution - RELEASE configuration
run: msbuild MFilesAPI.Extensions.sln /nologo /verbosity:m /p:Configuration=Release /t:Build /p:DefineConstants="DONOTDEPLOY"
# Tests cannot be run as MFAPI is not installed.
# - name: Test
# run: dotnet test --no-restore --verbosity normal