ci: fix choco package push (#5349)

This commit is contained in:
David Knaack 2023-08-04 09:06:37 +02:00 committed by GitHub
parent bc2b84eba4
commit 5e9acb7e80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,9 +88,9 @@ foreach ($install_type in @('portable', 'install')) {
}
if ($null -ne $ENV:PUSH_TOKEN) {
choco push starship.portable.$versionNumber.nupkg --key $ENV:PUSH_TOKEN
choco push starship.install.$versionNumber.nupkg --key $ENV:PUSH_TOKEN
choco push starship.$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 --source="'https://push.chocolatey.org/'"
choco push starship.$versionNumber.nupkg --key $ENV:PUSH_TOKEN --source="'https://push.chocolatey.org/'"
}
else {
Write-Host "No API key provided, skipping push"