Skip to content

Commit eac18ac

Browse files
author
Christoph Bühler
committed
chore: use v2 nuget source
1 parent 7927f27 commit eac18ac

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/dotnet-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,5 @@ jobs:
3333
extra_plugins: |
3434
@semantic-release/exec
3535
env:
36-
NUGET_SERVER: ${{ secrets.NUGET_SERVER }}
3736
NUGET_KEY: ${{ secrets.NUGET_KEY }}
3837
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build/Build.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,9 @@ class Build : NukeBuild
7272

7373
Target Publish => _ => _
7474
.Requires(
75-
() => !string.IsNullOrWhiteSpace(EnvironmentInfo.GetVariable<string>("NUGET_SERVER", null)),
7675
() => !string.IsNullOrWhiteSpace(EnvironmentInfo.GetVariable<string>("NUGET_KEY", null)))
7776
.Executes(() => DotNetNuGetPush(s => s
78-
.SetSource(EnvironmentInfo.GetVariable<string>("NUGET_SERVER", null))
77+
.SetSource("https://www.nuget.org/api/v2/package")
7978
.SetApiKey(EnvironmentInfo.GetVariable<string>("NUGET_KEY", null))
8079
.CombineWith(Glob.Files(ArtifactsDirectory, "*.nupkg"), (ss, package) => ss
8180
.SetTargetPath(ArtifactsDirectory / package))));

0 commit comments

Comments
 (0)