NuGet / .NET
Avrea caches packages from nuget.org so that dotnet restore resolves from
colocated cache on repeat runs.
On Avrea runners
Section titled “On Avrea runners”NuGet is pre-configured. Your workflow needs no changes:
jobs: build: runs-on: avrea-ubuntu-latest steps: - uses: actions/checkout@v6 - uses: actions/setup-dotnet@v5 with: dotnet-version: 8.0 - run: dotnet restore - run: dotnet build --no-restore - run: dotnet test --no-buildManual setup
Section titled “Manual setup”Add to your NuGet.config:
<?xml version="1.0" encoding="utf-8"?><configuration> <packageSources> <clear /> <add key="avrea-cache" value="https://avrea-host:8443/nuget/v3/index.json" /> </packageSources></configuration>