mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-22 03:57:14 +08:00
Uploading MSBuild log as artifact
This commit is contained in:
10
.github/workflows/compile.yml
vendored
10
.github/workflows/compile.yml
vendored
@@ -28,7 +28,15 @@ jobs:
|
|||||||
uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce # v2.0.0
|
uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce # v2.0.0
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: msbuild Orchard.proj /m /v:minimal /t:Compile /p:MvcBuildViews=true /p:TreatWarningsAsErrors=true -WarnAsError
|
run: msbuild Orchard.proj /m /v:minimal /t:Compile /p:MvcBuildViews=true /p:TreatWarningsAsErrors=true -WarnAsError /bl:MSBuild.binlog
|
||||||
|
|
||||||
|
- name: Upload MSBuild log
|
||||||
|
if: success() || failure()
|
||||||
|
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
||||||
|
with:
|
||||||
|
name: MSBuild.binlog
|
||||||
|
path: MSBuild.binlog
|
||||||
|
if-no-files-found: ignore
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: msbuild Orchard.proj /m /v:minimal /t:Test
|
run: msbuild Orchard.proj /m /v:minimal /t:Test
|
||||||
|
|||||||
Reference in New Issue
Block a user