Skip to content

Commit d242dc8

Browse files
committed
Add nuget key
1 parent 78cac38 commit d242dc8

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
dotnet-version: '9.0.x'
4545

4646
- name: build
47-
run: ./build.sh CIRelease
47+
run: ./build.sh CIRelease --nuget-api-key ${{secrets.NUGET_API_KEY}}
4848

4949
# - name: publish-candidate
5050
# if: contains(github.ref, '-rc.')

.nuke/build.schema.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@
123123
},
124124
"NugetApiKey": {
125125
"type": "string",
126-
"description": "ApiKey for the specified source",
127126
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
128127
},
129128
"NugetFeed": {

Rewrite/.run/Build - NugetPush.run.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<option name="PROJECT_ARGUMENTS_TRACKING" value="1" />
1313
<option name="PROJECT_WORKING_DIRECTORY_TRACKING" value="1" />
1414
<option name="PROJECT_KIND" value="DotNetCore" />
15-
<option name="PROJECT_TFM" value="net8.0" />
15+
<option name="PROJECT_TFM" value="net9.0" />
1616
<method v="2">
1717
<option name="Build" />
1818
</method>

_build/Build.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Build : NukeBuild
3535

3636
GitHubActions GitHubActions => GitHubActions.Instance;
3737

38-
[Parameter("ApiKey for the specified source")][Secret] readonly string NugetApiKey;
38+
[Parameter][Secret] readonly string NugetApiKey;
3939

4040
[Parameter] readonly string NugetFeed = "https://api.nuget.org/v3/index.json";
4141

0 commit comments

Comments
 (0)