diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 87cac98..96c9831 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,9 +47,9 @@ build_windows: # Configure private NuGet source from GitLab Packages if credentials are provided $nugetUrl = 'https://gitlab.com/api/v4/projects/79509532/packages/nuget/index.json' if ($env:NUGET_USERNAME -and $env:NUGET_PASSWORD) { - Write-Host 'Configuring private NuGet source GitLab...' - try { & $dotnetExe nuget remove source GitLab } catch {} - & $dotnetExe nuget add source $nugetUrl --name GitLab --username $env:NUGET_USERNAME --password $env:NUGET_PASSWORD --store-password-in-clear-text + Write-Host 'Configuring private NuGet source Nuget-GitLab-AIFotoONLUS...' + try { & $dotnetExe nuget remove source Nuget-GitLab-AIFotoONLUS } catch {} + & $dotnetExe nuget add source $nugetUrl --name Nuget-GitLab-AIFotoONLUS --username $env:NUGET_USERNAME --password $env:NUGET_PASSWORD --store-password-in-clear-text } else { Write-Host 'NUGET_USERNAME/NUGET_PASSWORD not set; skipping private NuGet source configuration.' } @@ -90,9 +90,9 @@ publish_release: # Configure private NuGet source from GitLab Packages if credentials are provided $nugetUrl = 'https://gitlab.com/api/v4/projects/79509532/packages/nuget/index.json' if ($env:NUGET_USERNAME -and $env:NUGET_PASSWORD) { - Write-Host 'Configuring private NuGet source GitLab...' - try { & $dotnetExe nuget remove source GitLab } catch {} - & $dotnetExe nuget add source $nugetUrl --name GitLab --username $env:NUGET_USERNAME --password $env:NUGET_PASSWORD --store-password-in-clear-text + Write-Host 'Configuring private NuGet source Nuget-GitLab-AIFotoONLUS...' + try { & $dotnetExe nuget remove source Nuget-GitLab-AIFotoONLUS } catch {} + & $dotnetExe nuget add source $nugetUrl --name Nuget-GitLab-AIFotoONLUS --username $env:NUGET_USERNAME --password $env:NUGET_PASSWORD --store-password-in-clear-text } else { Write-Host 'NUGET_USERNAME/NUGET_PASSWORD not set; skipping private NuGet source configuration.' } diff --git a/NuGet.Config b/NuGet.Config new file mode 100644 index 0000000..79cf275 --- /dev/null +++ b/NuGet.Config @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + +