feat: add nuget.config for package source management and update CI workflows to restore dependencies correctly

This commit is contained in:
HueByte
2026-02-21 17:16:05 +01:00
parent 1861fd00f9
commit 75491d65e2
4 changed files with 33 additions and 11 deletions
+5 -2
View File
@@ -30,8 +30,11 @@ jobs:
with:
dotnet-version: '10.0.x'
- name: Restore dependencies
run: dotnet restore src/EchoHub.slnx --configfile nuget.config
- name: Check formatting
run: dotnet format src/EchoHub.slnx --verify-no-changes --verbosity diagnostic
run: dotnet format src/EchoHub.slnx --no-restore --verify-no-changes --verbosity diagnostic
build-and-test:
name: Build & Test
@@ -75,7 +78,7 @@ jobs:
- name: Restore dependencies
if: steps.changes.outputs.src_changed == 'true'
run: dotnet restore src/EchoHub.slnx
run: dotnet restore src/EchoHub.slnx --configfile nuget.config
- name: Build
if: steps.changes.outputs.src_changed == 'true'