Skip to content

Commit 5c239f8

Browse files
committed
work on push
1 parent 328c433 commit 5c239f8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
uses: actions/setup-dotnet@v1
1818
with:
1919
dotnet-version: 8.0.x
20-
env:
21-
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }}
2220
- name: Restore dependencies
2321
run: |
2422
dotnet restore src/S7CommPlusDriver
@@ -40,4 +38,5 @@ jobs:
4038
dotnet build --configuration Release src/S7CommPlusGUIBrowser
4139
- name: Publish
4240
run: |
43-
dotnet nuget push src/S7CommPlusDriver/bin/Release/*.nupkg
41+
dotnet nuget push --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json src/S7CommPlusDriver/bin/Release/*.nupkg
42+

0 commit comments

Comments
 (0)