Revert "Grabbing the contents of the compile workflow from 1.10.x"

This reverts commit 01ba3cabbc.
This commit is contained in:
Benedek Farkas
2023-07-12 16:58:03 +02:00
parent 01ba3cabbc
commit 0c3afcd93e

View File

@@ -2,32 +2,15 @@ name: Compile
on:
workflow_dispatch:
pull_request:
push:
branches:
- dev
- 1.10.x
jobs:
compile:
name: Compile
defaults:
run:
shell: pwsh
shell: cmd
runs-on: windows-latest
steps:
- name: Clone repository
uses: actions/checkout@v3.1.0
- name: Restore NuGet packages
run: nuget restore src/Orchard.sln
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.3.1
- name: Compile
run: msbuild Orchard.proj /m /t:Compile /p:MvcBuildViews=true /p:TreatWarningsAsErrors=true -WarnAsError
- name: Test
run: msbuild Orchard.proj /m /t:Test
run: echo Test