test dotnet build = cache globale
This commit is contained in:
+5
-5
@@ -150,14 +150,13 @@ EgwMultiEngineManager.Core:SDK:build:
|
||||
when: always
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- '& "$env:NUGET_PATH" restore "$env:SOL_NAME.sln" -PackagesDirectory "c:\.nuget\packages"'
|
||||
# - dotnet restore "$env:SOL_NAME.sln"
|
||||
# - '& "$env:NUGET_PATH" restore "$env:SOL_NAME.sln" -PackagesDirectory "c:\.nuget\packages"'
|
||||
- dotnet restore "$env:SOL_NAME.sln"
|
||||
script:
|
||||
- echo $CI_COMMIT_BRANCH
|
||||
# - dotnet build EgwMultiEngineManager.Data/EgwMultiEngineManager.Data.vbproj
|
||||
# - dotnet build $env:APP_NAME/$env:APP_NAME.vbproj
|
||||
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=Debug /p:OutputPath=bin/ /verbosity:minimal /m'
|
||||
# - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=Debug /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m'
|
||||
- dotnet build $env:APP_NAME/$env:APP_NAME.vbproj
|
||||
# - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=Debug /p:OutputPath=bin/ /verbosity:minimal /m'
|
||||
|
||||
# --------------------------------
|
||||
# DEPLOY develop (beta nuget)
|
||||
@@ -191,6 +190,7 @@ EgwMultiEngineManager.Core:SDK:deploy:
|
||||
variables:
|
||||
APP_NAME: EgwMultiEngineManager.Core
|
||||
SOL_NAME: EgwMultiEngineManager
|
||||
NUGET_PACKAGES: 'C:\.nuget\packages' # force global packages folder
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == 'develop'
|
||||
- if: $CI_COMMIT_BRANCH =~ /^feature\/EgwMultiEngineManager.+/
|
||||
|
||||
Reference in New Issue
Block a user