Merge pull request #17 from M-Files/filedownloadstream-blocksize_exce… #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
- 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 |