Skip to content

Commit 2652e21

Browse files
committed
fix: update GitHub token reference in NuGet package publishing step
1 parent 6284918 commit 2652e21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-nuget.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ jobs:
177177
run: |
178178
foreach($file in (Get-ChildItem "${{ env.NuGetDirectory }}" -Recurse -Include *.nupkg)) {
179179
Write-Host "Publishing $($file.Name) to GitHub Packages..."
180-
dotnet nuget push $file --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --skip-duplicate
180+
dotnet nuget push $file --api-key ${{ secrets.GH_TOKEN }} --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --skip-duplicate
181181
}
182182
env:
183-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
183+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)