Skip to content

Commit f8fe88b

Browse files
committed
Fix publish.yml
1 parent 36fb35a commit f8fe88b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Publish
22

33
on:
44
push:
5-
tags: any
5+
tags:
6+
- '*'
67

78
jobs:
89
publish:
@@ -20,6 +21,4 @@ jobs:
2021
- name: Build
2122
run: dotnet build -c Release --no-restore /p:PackageVersion=${{ github.ref_name }}
2223
- name: Publish NuGet
23-
run: dotnet nuget push **.nupkg -k ${NUGET_TOKEN} --skip-duplicate
24-
env:
25-
NUGET_TOKEN: ${{ secrets.NUGET_API_KEY }}
24+
run: dotnet nuget push **/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate

0 commit comments

Comments
 (0)