From 537a20274bd8d069be3bf3cddfd9c01302a4260f Mon Sep 17 00:00:00 2001 From: David Driscoll Date: Tue, 17 Dec 2024 22:53:45 -0500 Subject: [PATCH] try and fix nugetpublish --- .build/Build.CI.cs | 2 +- .github/workflows/publish-nuget.yml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.build/Build.CI.cs b/.build/Build.CI.cs index 79272113..1f926266 100644 --- a/.build/Build.CI.cs +++ b/.build/Build.CI.cs @@ -50,7 +50,7 @@ [CloseMilestoneJob] [DraftReleaseJob] [UpdateMilestoneJob] -[PublishNugetPackagesJob("RSG_NUGET_API_KEY", "ci")] +[PublishNugetPackagesJob("RSG_NUGET_API_KEY", "ci", ["v*"])] [GitHubActionsVariable("THIS_IS_A_VARIABLE", Alias = "ThisIsAOtherVariable")] [GitHubActionsVariable("THIS_IS_ANOTHER_VARIABLE")] [GitHubActionsInput("THIS_IS_A_INPUT" /*, Alias = "ThisIsAInput"*/)] diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index 6c900133..ed5ea863 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -23,8 +23,6 @@ on: types: - 'completed' branches: - - 'master' - - 'main' - 'v*' permissions: actions: read @@ -66,3 +64,4 @@ jobs: run: | dotnet nuget push **/*.nupkg --skip-duplicate -s nuget.org --api-key $ENV:ApiKey dotnet nuget push **/*.snupkg --skip-duplicate -s nuget.org --api-key $ENV:ApiKey +