Skip to content

Commit

Permalink
[repo] Fix a couple issues in automation workflows/scripts (#5680)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeBlanch authored Jun 7, 2024
1 parent 357f0a2 commit fd18bb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
value: ${{ vars.AUTOMATION_EMAIL }}
secrets:
OPENTELEMETRYBOT_GITHUB_TOKEN:
required: true
required: false

jobs:
resolve-automation:
Expand Down
2 changes: 1 addition & 1 deletion build/scripts/post-release.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ function PushPackagesPublishReleaseUnlockAndPostNoticeOnPrepareReleasePullReques
gh pr comment $pullRequestNumber `
--body "I am uploading the packages for ``$tag`` to NuGet and then I will publish the release."

nuget push "$artifactDownloadPath/**/*.nupkg" -Source https://api.nuget.org/v3/index.json -ApiKey "$env.NUGET_TOKEN" -SymbolApiKey "$env.NUGET_TOKEN"
nuget push "$artifactDownloadPath/**/*.nupkg" -Source https://api.nuget.org/v3/index.json -ApiKey "$env:NUGET_TOKEN" -SymbolApiKey "$env:NUGET_TOKEN"

if ($LASTEXITCODE -gt 0)
{
Expand Down

0 comments on commit fd18bb1

Please sign in to comment.