Skip to content

Commit

Permalink
Warnings as errors and upgrade setupMsBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikMogensen committed Jun 3, 2024
1 parent 9990a4f commit 10415bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v3

- name: Add MSBuild for VS 2022 to PATH
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2
with:
vs-version: '[17.2,18.0)'

Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Build
run: |
msbuild /m /property:Configuration=${{env.BUILD_CONFIGURATION}},FileVersion=${{env.NUMBER_VERSION}},InformationalVersion=${{inputs.release-version}} ${{env.SOLUTION_FILE_PATH}}
msbuild /WarnAsError /m /property:Configuration=${{env.BUILD_CONFIGURATION}},FileVersion=${{env.NUMBER_VERSION}},InformationalVersion=${{inputs.release-version}} ${{env.SOLUTION_FILE_PATH}}
- name: Run tests
run: |
Expand Down

0 comments on commit 10415bc

Please sign in to comment.