Skip to content

Commit b75e56f

Browse files
Fix NuGet sources
1 parent 581980d commit b75e56f

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.github/workflows/cicd.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ jobs:
1515
with:
1616
path: ~/.nuget/packages
1717
key: nuget-${{ hashFiles('**/*.csproj') }}
18-
- name: Build
19-
run: dotnet build -warnaserror
20-
- name: Test
21-
run: dotnet test --no-build
18+
- name: Build and test
19+
run: dotnet test -warnaserror
2220
- name: Build nuget
2321
if: github.event_name == 'workflow_dispatch'
2422
run: dotnet pack PolyMod.csproj -o nuget

nuget.config

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
5+
<add key="BepInEx" value="https://nuget.bepinex.dev/v3/index.json" />
6+
<add key="Samboy" value="https://nuget.samboy.dev/v3/index.json" />
7+
<add key="PolyMod" value="https://polymod.dev/nuget/v3/index.json" />
8+
</packageSources>
9+
</configuration>

src/PolyMod.csproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33
<TargetFramework>net6.0</TargetFramework>
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
6-
<RestoreAdditionalProjectSources>
7-
https://api.nuget.org/v3/index.json;
8-
https://nuget.bepinex.dev/v3/index.json;
9-
https://nuget.samboy.dev/v3/index.json;
10-
https://polymod.dev/nuget/v3/index.json;
11-
</RestoreAdditionalProjectSources>
126
<Configurations>IL2CPP</Configurations>
137
<Version>1.2.0-pre</Version>
148
<PolytopiaVersion>2.13.0.14218</PolytopiaVersion>

0 commit comments

Comments
 (0)