mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-08 00:14:31 +08:00
Merge branch '1.10.x' into issue/8684
# Conflicts: # .github/workflows/compile.yml # src/Orchard.Azure/Orchard.Azure.Web/Orchard.Azure.Web.csproj # src/Orchard.Azure/Orchard.Azure.Web/packages.config # src/Orchard.Specs/Blogs.feature.cs # src/Orchard.Specs/DateTime.feature # src/Orchard.Specs/DateTime.feature.cs # src/Orchard.Specs/Hosting/Orchard.Web/Web.config # src/Orchard.Web/Modules/Orchard.Localization/Handlers/LocalizationPartHandler.cs # src/Orchard.Web/Web.config # src/Orchard.sln
This commit is contained in:
19
.github/workflows/compile.yml
vendored
19
.github/workflows/compile.yml
vendored
@@ -2,6 +2,11 @@ name: Compile
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
- 1.10.x
|
||||
|
||||
jobs:
|
||||
compile:
|
||||
@@ -22,19 +27,7 @@ jobs:
|
||||
uses: microsoft/setup-msbuild@v1.3.1
|
||||
|
||||
- name: Compile
|
||||
run: msbuild Orchard.proj /m /t:Compile /p:MvcBuildViews=true /p:TreatWarningsAsErrors=true -WarnAsError /bl:Orchard.binlog
|
||||
|
||||
- name: Upload MSBuild Binary Log
|
||||
uses: actions/upload-artifact@v3.1.1
|
||||
if: success() || failure()
|
||||
with:
|
||||
name: Orchard-${{ github.sha }}-${{ github.run_number }}.binlog
|
||||
path: Orchard.binlog
|
||||
if-no-files-found: ignore
|
||||
run: msbuild Orchard.proj /m /t:Compile /p:MvcBuildViews=true /p:TreatWarningsAsErrors=true -WarnAsError
|
||||
|
||||
- name: Test
|
||||
run: msbuild Orchard.proj /m /t:Test
|
||||
|
||||
- name: Spec
|
||||
if: false
|
||||
run: msbuild Orchard.proj /m /t:Spec
|
||||
|
Reference in New Issue
Block a user