Skip to content

Commit 72a13e8

Browse files
Only push nupkg file to avoid pushing snupkg twice
1 parent a4712ff commit 72a13e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
path: PackOutputs/*
4343

4444
- name: Publish Nuget Package
45-
run: dotnet nuget push PackOutputs/* --api-key ${{ secrets.NUGET_API_KEY }}
45+
run: dotnet nuget push PackOutputs/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }}
4646

4747
- name: Upload Nuget packages as release artifacts
4848
uses: actions/github-script@v2

0 commit comments

Comments
 (0)