8776: Upgrade Microsoft.CodeDom.Providers.DotNetCompilerPlatform to latest version #158
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: Compile | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- dev | |
- 1.10.x | |
jobs: | |
compile: | |
name: Compile | |
defaults: | |
run: | |
shell: pwsh | |
runs-on: windows-latest | |
steps: | |
- name: Clone repository | |
uses: actions/[email protected] | |
- name: Restore NuGet packages | |
run: nuget restore src/Orchard.sln | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- name: Compile | |
run: msbuild Orchard.proj /m /v:minimal /t:Compile /p:MvcBuildViews=true /p:TreatWarningsAsErrors=true -WarnAsError | |
- name: Test | |
run: msbuild Orchard.proj /m /v:minimal /t:Test | |
- name: Spec | |
run: msbuild Orchard.proj /m /v:minimal /t:Spec |