forgejo/ci: run build in pazof/yavsc-build-env container #17
1 changed files with 23 additions and 0 deletions
nuget: add NuGet.config pointing at isn.pschneider.fr
The yavsc solution depends on HigginsSoft.IdentityServer8.* 8.1.0-alpha.*, which is only published on the internal feed https://isn.pschneider.fr. Public nuget.org has 8.0.4 as the nearest version, so every project that uses IdentityServer8 (Yavsc.Org, Yavsc.Api, Yavsc.Blogs, Yavsc.Server, cli, Yavsc.Org.Tests, Yavsc.Blogs.Tests) fails with NU1102 on restore. Both feeds are reachable anonymously, so listing isn first and nuget.org second in a project-level config restores everything without credentials. The CI runner on forgejo now sees the same sources as a local clone.
commit
94012c51ab
23
NuGet.config
Normal file
23
NuGet.config
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Project-level NuGet configuration.
|
||||||
|
|
||||||
|
The yavsc solution depends on HigginsSoft.IdentityServer8.* 8.1.0-alpha.*,
|
||||||
|
published only on the internal feed https://isn.pschneider.fr. The public
|
||||||
|
nuget.org feed has 8.0.4 as the nearest version, which causes NU1102 on
|
||||||
|
restore for every project that depends on it (Yavsc.Org, Yavsc.Api,
|
||||||
|
Yavsc.Blogs, Yavsc.Server, cli, tests).
|
||||||
|
|
||||||
|
Listing 'isn' before 'nuget.org' here ensures that restore finds the
|
||||||
|
alpha packages first, then falls back to nuget.org for everything else.
|
||||||
|
Both feeds are reachable anonymously; no credentials are stored here.
|
||||||
|
|
||||||
|
See AGENTS.md for the rationale.
|
||||||
|
-->
|
||||||
|
<configuration>
|
||||||
|
<packageSources>
|
||||||
|
<clear />
|
||||||
|
<add key="isn" value="https://isn.pschneider.fr/api/v3/index.json" />
|
||||||
|
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
|
||||||
|
</packageSources>
|
||||||
|
</configuration>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue