ci: fix choco package push (#5349)
This commit is contained in:
parent
bc2b84eba4
commit
5e9acb7e80
|
@ -88,9 +88,9 @@ foreach ($install_type in @('portable', 'install')) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($null -ne $ENV:PUSH_TOKEN) {
|
if ($null -ne $ENV:PUSH_TOKEN) {
|
||||||
choco push starship.portable.$versionNumber.nupkg --key $ENV:PUSH_TOKEN
|
choco push starship.portable.$versionNumber.nupkg --key $ENV:PUSH_TOKEN --source="'https://push.chocolatey.org/'"
|
||||||
choco push starship.install.$versionNumber.nupkg --key $ENV:PUSH_TOKEN
|
choco push starship.install.$versionNumber.nupkg --key $ENV:PUSH_TOKEN --source="'https://push.chocolatey.org/'"
|
||||||
choco push starship.$versionNumber.nupkg --key $ENV:PUSH_TOKEN
|
choco push starship.$versionNumber.nupkg --key $ENV:PUSH_TOKEN --source="'https://push.chocolatey.org/'"
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Write-Host "No API key provided, skipping push"
|
Write-Host "No API key provided, skipping push"
|
||||||
|
|
Loading…
Reference in New Issue