aggiunta rule controllo modifiche

This commit is contained in:
Samuele Locatelli
2024-12-23 12:12:07 +01:00
parent 42e4077b08
commit 7ecf55d579
+4 -7
View File
@@ -174,9 +174,9 @@ EgwProxy.Ftp:build:
SOL_NAME: EgwProxy.FTP
rules:
- if: $CI_COMMIT_BRANCH == 'develop'
# changes:
# - EgwProxy.Ftp/*
# when: always
changes:
- EgwProxy.Ftp/*
when: always
- if: $CI_COMMIT_BRANCH == 'SDK/Ftp'
changes:
- EgwProxy.Ftp/*
@@ -186,12 +186,9 @@ EgwProxy.Ftp:build:
# - SDK/Ftp
before_script:
- *nuget-fix
- dotnet restore "$env:SOL_NAME.sln"
- dotnet restore "$env:APP_NAME\$env:APP_NAME.csproj"
# - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
- *version-fix
script:
# - dotnet build $env:APP_NAME\$env:APP_NAME.csproj #--configuration Release --arch x86 --output bin/ --verbosity minimal
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m'
# EgwProxy.Icoel:build: