-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathNuGet.Config
More file actions
53 lines (46 loc) · 1.83 KB
/
Copy pathNuGet.Config
File metadata and controls
53 lines (46 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="utf-8"?>
<!--
NuGet configuration for AVR8Sharp.
Private NuGet source
─────────────────────
To push packages to your private server, set the following secrets in
your Gitea / GitHub repository:
NUGET_PRIVATE_SOURCE_URL - full URL of the NuGet v3 feed
e.g. https://nuget.example.com/v3/index.json
NUGET_PRIVATE_API_KEY - API key (or personal access token)
The CI workflow adds the source at runtime (see ci.yml / publish.yml).
Local development
─────────────────
Copy this file to your home directory (~/.config/NuGet/NuGet.Config on
Linux/macOS, %APPDATA%\NuGet\NuGet.Config on Windows) and add your
credentials there so you can restore private packages on your machine
without committing credentials to source control.
-->
<configuration>
<packageSources>
<clear />
<!-- Public NuGet gallery (always active) -->
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<!--
Uncomment and fill in the URL to restore from your private server
during local development. The CI pipeline adds this dynamically
from the NUGET_PRIVATE_SOURCE_URL secret.
<add key="private"
value="https://nuget.example.com/v3/index.json"
protocolVersion="3" />
-->
</packageSources>
<packageSourceMapping>
<!-- Packages from this repo resolve from nuget.org by default. -->
<packageSource key="nuget.org">
<package pattern="*" />
</packageSource>
<!--
Once you uncomment the private source above, add a pattern for
your internal packages:
<packageSource key="private">
<package pattern="Avr8Sharp*" />
</packageSource>
-->
</packageSourceMapping>
</configuration>