Skip to content

Merge pull request #44 from ekonbenefits/Modernize-repo #16

Merge pull request #44 from ekonbenefits/Modernize-repo

Merge pull request #44 from ekonbenefits/Modernize-repo #16

Workflow file for this run

name: Build CrossComple .net core/.net framework Windows
on: [push]
jobs:
build:
name: Test Windows .net Framework and Core
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- uses: NuGet/setup-nuget@v2
- uses: microsoft/setup-msbuild@v2
with:
dotnet-version: 4.8
- name: Restore Packages
run: nuget restore Dynamitey.sln
- name: Build solution
run: msbuild Dynamitey.sln -t:rebuild -property:Configuration=Release
- name: Test
uses: josepho0918/vstest-action@0e887de8dcfab5ce3eecaf4ad6320bb9b3ecf633
with:
testAssembly: Tests.dll
searchFolder: .\Tests\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 }}