fix NuGet token lookup
This commit is contained in:
parent
94404f62cc
commit
96ae140414
@ -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 "& {
|
||||
|
@ -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 "& {
|
||||
|
@ -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'
|
||||
}
|
||||
|
Reference in New Issue
Block a user