File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 2929 uses : actions/setup-dotnet@v4
3030 with :
3131 dotnet-version : ${{ env.DOTNET_VERSION }}
32+
33+ - name : Configure NuGet feeds for previews
34+ run : |
35+ dotnet nuget add source https://api.nuget.org/v3/index.json --name nuget.org
36+ dotnet nuget add source https://myget.org/F/orchardcore-preview/api/v3/index.json --name orchardcore-preview --configfile NuGet.Config || true
37+ shell : bash
3238
3339 - name : Restore dependencies
3440 run : dotnet restore SharpCoreDB.CI.slnf
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <configuration >
3+ <packageSources >
4+ <!-- Official NuGet feed -->
5+ <add key =" nuget.org" value =" https://api.nuget.org/v3/index.json" protocolVersion =" 3" />
6+
7+ <!-- OrchardCore Preview feed for preview packages -->
8+ <add key =" orchardcore-preview" value =" https://myget.org/F/orchardcore-preview/api/v3/index.json" />
9+
10+ <!-- OrchardCore nightly feed (fallback) -->
11+ <add key =" orchardcore-nightly" value =" https://myget.org/F/orchardcore-nightly/api/v3/index.json" />
12+ </packageSources >
13+
14+ <packageSourceCredentials >
15+ <!-- Add credentials here if needed for private feeds -->
16+ </packageSourceCredentials >
17+
18+ <!-- Disable default sources if needed -->
19+ <disabledPackageSources >
20+ </disabledPackageSources >
21+
22+ <!-- Trust settings for feeds -->
23+ <trustedSigners >
24+ <author name =" Microsoft" >
25+ <certificate fingerprint =" 0E5F38F57606B652F25B13BF63D56AC13127D08C" hashAlgorithm =" SHA256" />
26+ </author >
27+ </trustedSigners >
28+ </configuration >
You can’t perform that action at this time.
0 commit comments