From f107ef61dc18afd8b8e27fa1426d8b65d50bcd75 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 21 Nov 2025 18:07:14 +0000 Subject: [PATCH 1/3] Initial plan From ce5ce270c54f12fcc246a942927062996463114f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 21 Nov 2025 18:10:45 +0000 Subject: [PATCH 2/3] Update GitHub Actions workflow to use repository NuGet.config Co-authored-by: mythz <89361+mythz@users.noreply.github.com> --- .github/workflows/build.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a01602a..ea55589 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,13 +18,29 @@ jobs: with: dotnet-version: 10.0.x + - name: Restore NuGet packages (use repo NuGet.config) + run: dotnet restore TechStacks.sln --configfile ./NuGet.Config + + # If your feed requires authentication, enable and configure the step below. + # This example uses a Personal Access Token stored in secrets.NUGET_API_KEY. + # Alternatively, you can use the NuGet Authenticate action from Azure Pipelines. + # - name: Authenticate private NuGet feed + # env: + # NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} + # run: | + # dotnet nuget add source "https://nuget.pkg.github.com/YOUR_ORG/index.json" \ + # --name "GitHub" \ + # --username "YOUR_USERNAME" \ + # --password "$NUGET_API_KEY" \ + # --store-password-in-clear-text + - name: build - run: dotnet build --configfile NuGet.Config + run: dotnet build --no-restore working-directory: . # - name: test # run: | - # dotnet test + # dotnet test --no-restore # if [ $? -eq 0 ]; then # echo TESTS PASSED # else From 5fd6b1a9db54610a5b269944067795c2f7bdb2dd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 21 Nov 2025 18:11:49 +0000 Subject: [PATCH 3/3] Make authentication example more generic Co-authored-by: mythz <89361+mythz@users.noreply.github.com> --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ea55589..86e2ab0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,8 +28,8 @@ jobs: # env: # NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} # run: | - # dotnet nuget add source "https://nuget.pkg.github.com/YOUR_ORG/index.json" \ - # --name "GitHub" \ + # dotnet nuget add source "https://YOUR_FEED_URL/index.json" \ + # --name "PrivateFeed" \ # --username "YOUR_USERNAME" \ # --password "$NUGET_API_KEY" \ # --store-password-in-clear-text