Skip to content

Commit d16449e

Browse files
authored
Merge pull request #17542 from iterate-ch/copilot/fix-59bb7920-3720-4cbe-bad6-c27c6d71f946
Update README with NuGet configuration instructions for Windows builds
2 parents f54d66d + 4b4275e commit d16449e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,19 @@ Make sure that `MSBuild`, `mvn`, `ant` and `java` are on your `PATH`-environment
116116
Additionally include the latest Windows Sdk-binary folder in your `PATH`-environment variable:
117117
* `%ProgramFiles(x86)%\Windows Kits\10\bin\10.0.<Latest>.0\x64`
118118

119+
#### NuGet Configuration
120+
121+
To build on Windows, you need to configure NuGet with credentials to access GitHub Package Registry sources. Create a GitHub [personal access token (classic)](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry) with at least `read:packages` permissions.
122+
123+
Then, in the Cyberduck repository root directory, run the following commands in Terminal (PowerShell or Command Prompt):
124+
125+
```sh
126+
dotnet nuget update source gh-ikvmnet -u "YourUsername" -p "YourPAT"
127+
dotnet nuget update source gh-iterate-ch -u "YourUsername" -p "YourPAT"
128+
```
129+
130+
Replace `YourUsername` with your GitHub username and `YourPAT` with your personal access token.
131+
119132
## Building
120133

121134
Run `mvn verify -DskipTests -DskipSign` to build without running any tests and skip codesign. Find build artifacts in

0 commit comments

Comments
 (0)