We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdcc46f commit b0f8782Copy full SHA for b0f8782
.github/workflows/release.yaml
@@ -19,8 +19,9 @@ jobs:
19
run: dotnet build --no-restore --configuration Release /p:Version=${{ github.ref_name }}
20
- name: Pack
21
run: dotnet pack --no-build --configuration Release --output ./artifacts /p:Version=${{ github.ref_name }}
22
- - name: Upload NuGet package artifacts
23
- uses: actions/upload-artifact@v4
24
- with:
25
- name: nuget-packages
26
- path: ./artifacts/*.nupkg
+ - name: Publish
+ shell: pwsh
+ run: |
+ Get-ChildItem -Path ./artifacts -Recurse | ForEach-Object {
+ dotnet nuget push $_.FullName --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
27
+ }
0 commit comments