We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8575548 commit 541a2f5Copy full SHA for 541a2f5
.github/workflows/nuget.yaml
@@ -39,4 +39,11 @@ jobs:
39
run: dotnet pack -c Release src/nuget.proj -o pkg --include-symbols
40
41
- name: dotnet nuget push
42
- run: dotnet nuget push pkg\*.nupkg -s https://www.nuget.org/ -k ${{ secrets.nuget_api_key }}
+ run: |
43
+ dotnet nuget push pkg\*.nupkg -s https://nuget.pkg.github.com/$env:GITHUB_REPOSITORY_OWNER -k ${{ secrets.GITHUB_TOKEN }}
44
+ dotnet nuget push pkg\*.nupkg -s https://www.nuget.org/ -k ${{ secrets.nuget_api_key }}
45
+
46
+ - name: Delete Package Versions
47
+ uses: actions/delete-package-versions@v2
48
+ with:
49
+ min-versions-to-keep: 10
0 commit comments