Skip to content

Commit ccef5db

Browse files
authored
Merge pull request #30 from Flow-Launcher/enable_nuget_publisj
Enable publish to NuGet
2 parents dc50ec8 + 017abee commit ccef5db

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010

11-
build:
11+
publish:
1212

1313
runs-on: windows-latest
1414

@@ -40,10 +40,10 @@ jobs:
4040
- name: Create NuGet package
4141
run: dotnet pack ${{ env.Project_Path }} --configuration Release --no-build --output nupkgs
4242

43-
# # Publish to NuGet.org
44-
# - name: Push to NuGet
45-
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'
46-
# run: nuget push nupkgs\*.nupkg -source 'https://api.nuget.org/v3/index.json' -apikey ${{ secrets.NUGET_API_KEY }}
43+
# Publish to NuGet.org
44+
- name: Push to NuGet
45+
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'
46+
run: nuget push nupkgs\*.nupkg -source 'https://api.nuget.org/v3/index.json' -apikey ${{ secrets.NUGET_API_KEY }}
4747

4848
# Get package version
4949
- name: Get Package Version

0 commit comments

Comments
 (0)