Merge pull request #193 from Jambe/master #335
This file contains hidden or 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 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 8.0.x | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v1.1 | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: msbuild SMT.sln | |
- name: Publish | |
run: msbuild SMT.sln /p:Configuration=Release /p:Platform="x64" /p:PublishProfile=FolderProfile.pubxml | |
- name: Test | |
run: dotnet test --no-build --verbosity normal |