diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml index ae7a2c52..5f9cf704 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/dotnet-desktop.yml @@ -141,7 +141,7 @@ jobs: - name: push to NuGet # Only push to NuGet if we're building a tag (optional) - if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') + if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') shell: pwsh # Loop through all the packages in the output folder and push them to # nuget.org, using the NUGET_API_KEY generated by the previous login step