Skip to content

Commit 0497af8

Browse files
authored
Add NuGet publish step to workflow
1 parent e9476c7 commit 0497af8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/publish-nuget.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ jobs:
2828

2929
- name: Pack
3030
run: dotnet pack BarcodeScanning.Native.Maui/BarcodeScanning.Native.Maui.csproj -c Release -o ./nupkgs
31+
32+
- name: Publish to NuGet
33+
run: dotnet nuget push ./nupkgs/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)