Skip to content

Commit f54111b

Browse files
committed
Update GitHub Action
1 parent 6493096 commit f54111b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/dotnet.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ jobs:
5050
uses: actions/upload-artifact@v4
5151
with:
5252
name: Full nupkg
53-
path: nupkgs\Flow.Launcher.Localization.*.nupkg
53+
path: nupkgs/Flow.Launcher.Localization.*.nupkg
5454
compression-level: 0
5555

5656
# Publish to NuGet.org
57-
# - name: Publish to NuGet
58-
# if: github.event_name == 'push' && github.ref == 'refs/heads/main' # Only publish on push to main
59-
# run: dotnet nuget push ./nupkgs/*.nupkg --source ${{ env.NuGet_Source }} --api-key ${{ secrets.NUGET_API_KEY }}
57+
- name: Push to NuGet
58+
if: github.event_name == 'push' && github.ref == 'refs/heads/main' # Only publish on push to main
59+
run: dotnet nuget push nupkgs/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s ${{ env.NuGet_Source }}

0 commit comments

Comments
 (0)