diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a01602a..86e2ab0 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://YOUR_FEED_URL/index.json" \ + # --name "PrivateFeed" \ + # --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