mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Compile workflow: Upgrading actions/checkout and microsoft/setup-msbuild actions to their latest versions
This commit is contained in:
parent
266c8420f7
commit
51a9aaa51d
4
.github/workflows/compile.yml
vendored
4
.github/workflows/compile.yml
vendored
@ -18,13 +18,13 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
uses: actions/checkout@v3.1.0
|
uses: actions/checkout@v4.1.1
|
||||||
|
|
||||||
- name: Restore NuGet packages
|
- name: Restore NuGet packages
|
||||||
run: nuget restore src/Orchard.sln
|
run: nuget restore src/Orchard.sln
|
||||||
|
|
||||||
- name: Add msbuild to PATH
|
- name: Add msbuild to PATH
|
||||||
uses: microsoft/setup-msbuild@v1.3.1
|
uses: microsoft/setup-msbuild@v2
|
||||||
|
|
||||||
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user