Skip to content

Commit 18088ae

Browse files
committed
fixup! Build: Read nuget API key from file
Build server's repo clone is volatile, so moved API key file to %UserProfile%\AppData\Roaming\NuGet\unitsnet.apikey.txt
1 parent 0c36667 commit 18088ae

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

Build/nuget-apikey-placeholder.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

Build/nuget-publish.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
$root="$PSScriptRoot\.."
22
$nugetDir="$root\Artifacts\NuGet\"
3-
$apiKeyFile="nuget-apikey.txt"
3+
$apiKeyFile="$env:appdata\NuGet\unitsnet-apikey.txt"
44

55
$apiKey = Get-Content $apiKeyFile
66
Write-Host "Using API key: $apiKey"

0 commit comments

Comments
 (0)