Skip to content

Bump microsoft/setup-msbuild from 1.1 to 1.3 #340

Bump microsoft/setup-msbuild from 1.1 to 1.3

Bump microsoft/setup-msbuild from 1.1 to 1.3 #340

Workflow file for this run

name: Build Solution
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: setup-msbuild
uses: microsoft/[email protected]
- name: Setup NuGet.exe for use with actions
uses: NuGet/[email protected]
- name: Restore NuGet Packages
run: nuget restore Archipelago.MultiClient.Net.sln
- name: Build Library
run: msbuild Archipelago.MultiClient.Net.sln /property:Configuration=Release
- name: Run Tests (.net 3.5)
run: dotnet test Archipelago.MultiClient.Net.Tests/bin/Release/net471/Archipelago.MultiClient.Net.Tests.dll -l "trx;LogFileName=TestResults_net35.trx"
- name: Run Tests (.net 4.0)
run: dotnet test Archipelago.MultiClient.Net.Tests/bin/Release/net472/Archipelago.MultiClient.Net.Tests.dll -l "trx;LogFileName=TestResults_net40.trx"
- name: Run Tests (.net 4.5)
run: dotnet test Archipelago.MultiClient.Net.Tests/bin/Release/net47/Archipelago.MultiClient.Net.Tests.dll -l "trx;LogFileName=TestResults_net45.trx"
- name: Run Tests (.net standard 2.0)
run: dotnet test Archipelago.MultiClient.Net.Tests/bin/Release/net48/Archipelago.MultiClient.Net.Tests.dll -l "trx;LogFileName=TestResults_standard20.trx"
- name: Upload Test Results
uses: actions/upload-artifact@v4
with:
name: TestResults
path: TestResults/*.trx