Skip to content

Commit

Permalink
Fix push to nuget.org in github release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Dec 13, 2024
1 parent 7bb9a6c commit f6204f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
shell: pwsh
run: |
if ('${{ secrets.NUGET_API_KEY }}') {
echo "NUGET_API_KEY_DEFINED=true" >> $GITHUB_ENV
Write-Host "NUGET_API_KEY secret detected. NuGet packages will be pushed."
echo "NUGET_API_KEY_DEFINED=true" >> $env:GITHUB_ENV
}
- name: 🔎 Search for build of ${{ github.ref }}
Expand Down

0 comments on commit f6204f3

Please sign in to comment.