Skip to content

Commit 37f357c

Browse files
authored
Add nuget.config for registry consistency (#176)
* Add target-branch: main * chore: add nuget.config to ensure registry consistency with updater.yml
1 parent dd773e4 commit 37f357c

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.github/updater.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ updates:
1313
- package-ecosystem: "nuget"
1414
directory: "src"
1515
targetFramework: net10.0
16+
target-branch: main
1617
execute-restore: true
1718
groups:
1819
microsoft:

nuget.config

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<configuration>
4+
<packageSources>
5+
<clear />
6+
<add key="nuget"
7+
value="https://api.nuget.org/v3/index.json"
8+
protocolVersion="3" />
9+
10+
</packageSources>
11+
<packageSourceMapping>
12+
<packageSource key="nuget">
13+
<package pattern="*" />
14+
</packageSource>
15+
</packageSourceMapping>
16+
</configuration>

0 commit comments

Comments
 (0)