Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:

build:
publish:

runs-on: windows-latest

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

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

# Get package version
- name: Get Package Version
Expand Down
Loading