Fix drone build pipeline #1

Merged
OCram85 merged 9 commits from DroneTest into master 2022-07-13 16:19:34 +02:00
3 changed files with 6 additions and 6 deletions
Showing only changes of commit 96ae140414 - Show all commits

View File

@ -134,8 +134,8 @@ steps:
image: mcr.microsoft.com/dotnet/sdk:6.0-focal
#failure: ignore
environment:
NexusToken:
from_secret: NexusToken
NuGetToken:
from_secret: PSGallery
commands:
- |
pwsh -NonInteractive -c "& {

View File

@ -143,8 +143,8 @@ steps:
image: mcr.microsoft.com/dotnet/sdk:6.0-focal
#failure: ignore
environment:
NexusToken:
from_secret: NexusToken
NuGetToken:
from_secret: PSGallery
commands:
- |
pwsh -NonInteractive -c "& {

View File

@ -35,9 +35,9 @@ function Invoke-Publish {
Expand-Archive @ExpandParams
$PublishParams = @{
Repository = 'Nexus'
Repository = 'PSGallery'
Path = $Repo.Bin.ExpandPath
NuGetApiKey = $Env:NexusToken
NuGetApiKey = $Env:NuGetToken
Verbose = $VerbosePreference
ErrorAction = 'Stop'
}