Merge pull request #59 from ekonbenefits/moderize-repo #28
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: .net framework Windows | |
on: [push] | |
jobs: | |
build: | |
name: Test Windows .net Framework Only | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: NuGet/setup-nuget@v2 | |
- uses: microsoft/setup-msbuild@v2 | |
with: | |
dotnet-version: 4.7.2 | |
- name: Restore | |
run: nuget restore ImpromptuInterface.sln | |
- name: Build | |
run: msbuild ImpromptuInterface.sln -t:rebuild -property:Configuration=Release | |
- name: Test | |
uses: josepho0918/vstest-action@0e887de8dcfab5ce3eecaf4ad6320bb9b3ecf633 | |
with: | |
testAssembly: UnitTestImpromptuInterface.dll | |
searchFolder: .\Tests\UnitTestImpromptuInterface\bin\Release\*\ | |
runInParallel: true | |
otherConsoleOptions: /TestCaseFilter:"(TestCategory!=Performance)" | |
platform: x64 | |
- name: Publish | |
run: | |
dotnet nuget push '${{ github.workspace }}\publish\*.nupkg' --source https://nuget.pkg.github.com/ekonbenefits/index.json --api-key ${{ secrets.GITHUB_TOKEN }} |