Skip to content

Commit 446a953

Browse files
committed
update action
1 parent 4b62da9 commit 446a953

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- 'v*'
77

8+
env:
9+
NUGET_AUTH_TOKEN: ${{secrets.NUGET_API_KEY}}
10+
811
jobs:
912
build-and-publish:
1013
runs-on: ubuntu-latest
@@ -28,4 +31,4 @@ jobs:
2831
run: dotnet pack --configuration Release --no-build
2932

3033
- name: Push to NuGet
31-
run: dotnet nuget push "bin/Release/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate
34+
run: dotnet nuget push "bin/Release/*.nupkg" --skip-duplicate

0 commit comments

Comments
 (0)