Merge pull request #657 from akunzai/aspnetcore-mvc-sample #126
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: Build OWIN sample | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'samples/OwinSample/**' | |
- 'Directory.*.props' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'samples/OwinSample/**' | |
- 'Directory.*.props' | |
permissions: read-all | |
jobs: | |
msbuild: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up MSBuild | |
uses: microsoft/setup-msbuild@v2 | |
with: | |
msbuild-architecture: x64 | |
- name: Build | |
run: | | |
msbuild -version | |
msbuild samples/OwinSample/OwinSample.csproj -noLogo -verbosity:minimal -restore |