Skip to content

Commit 190a81f

Browse files
authored
Use Trusted Publishing for NuGet (#300)
+semver:patch
1 parent 21f3722 commit 190a81f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/publish-nuget.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,4 @@ jobs:
3030
run: dotnet pack --no-build --configuration Release --output ./Release
3131

3232
- name: Publish to NuGet
33-
run: dotnet nuget push ./Release/*.nupkg -s nuget.org -k ${NUGET_API_KEY}
34-
env:
35-
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
33+
run: dotnet nuget push ./Release/*.nupkg -s nuget.org

0 commit comments

Comments
 (0)