Fix drone build pipeline #1
@ -134,8 +134,8 @@ steps:
|
|||||||
image: mcr.microsoft.com/dotnet/sdk:6.0-focal
|
image: mcr.microsoft.com/dotnet/sdk:6.0-focal
|
||||||
#failure: ignore
|
#failure: ignore
|
||||||
environment:
|
environment:
|
||||||
NexusToken:
|
NuGetToken:
|
||||||
from_secret: NexusToken
|
from_secret: PSGallery
|
||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
pwsh -NonInteractive -c "& {
|
pwsh -NonInteractive -c "& {
|
||||||
|
@ -143,8 +143,8 @@ steps:
|
|||||||
image: mcr.microsoft.com/dotnet/sdk:6.0-focal
|
image: mcr.microsoft.com/dotnet/sdk:6.0-focal
|
||||||
#failure: ignore
|
#failure: ignore
|
||||||
environment:
|
environment:
|
||||||
NexusToken:
|
NuGetToken:
|
||||||
from_secret: NexusToken
|
from_secret: PSGallery
|
||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
pwsh -NonInteractive -c "& {
|
pwsh -NonInteractive -c "& {
|
||||||
|
@ -35,9 +35,9 @@ function Invoke-Publish {
|
|||||||
Expand-Archive @ExpandParams
|
Expand-Archive @ExpandParams
|
||||||
|
|
||||||
$PublishParams = @{
|
$PublishParams = @{
|
||||||
Repository = 'Nexus'
|
Repository = 'PSGallery'
|
||||||
Path = $Repo.Bin.ExpandPath
|
Path = $Repo.Bin.ExpandPath
|
||||||
NuGetApiKey = $Env:NexusToken
|
NuGetApiKey = $Env:NuGetToken
|
||||||
Verbose = $VerbosePreference
|
Verbose = $VerbosePreference
|
||||||
ErrorAction = 'Stop'
|
ErrorAction = 'Stop'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user