Skip to content

Commit f178915

Browse files
committed
publish fix
1 parent 0497af8 commit f178915

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish-nuget.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: dotnet build BarcodeScanning.Native.Maui/BarcodeScanning.Native.Maui.csproj -c Release
2828

2929
- name: Pack
30-
run: dotnet pack BarcodeScanning.Native.Maui/BarcodeScanning.Native.Maui.csproj -c Release -o ./nupkgs
30+
run: dotnet pack BarcodeScanning.Native.Maui/BarcodeScanning.Native.Maui.csproj -c Release -o "${{ github.workspace }}/nupkgs"
3131

3232
- 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
33+
run: dotnet nuget push "${{ github.workspace }}/nupkgs/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)