From 774975f0db7849b589b85434673fa07bf7418c30 Mon Sep 17 00:00:00 2001 From: Tao Chen Date: Fri, 11 Aug 2023 12:09:56 -0700 Subject: [PATCH] Temp workaround to include custom nuget feed for webapi in build pipeline --- .github/workflows/copilot-build-backend.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/copilot-build-backend.yml b/.github/workflows/copilot-build-backend.yml index e82da790e..e609a635d 100644 --- a/.github/workflows/copilot-build-backend.yml +++ b/.github/workflows/copilot-build-backend.yml @@ -24,6 +24,8 @@ jobs: runs-on: ${{ matrix.os }} + environment: feature-semantic-memory + env: NUGET_CERT_REVOCATION_MODE: offline @@ -35,6 +37,14 @@ jobs: with: clean: true + - name: Add custom nuget source + run: | + dotnet nuget add source "https://pkgs.dev.azure.com/msctoproj/Lightspeed/_packaging/SemanticMemoryPrivate/nuget/v3/index.json" \ + --name SemanticMemoryPrivate \ + --username az \ + --password ${{ secrets.AZURE_DEVOPS_PAT }} \ + --store-password-in-clear-text + - name: Package Copilot Chat WebAPI run: | scripts\deploy\package-webapi.ps1 -Configuration Release -DotnetFramework net6.0 -TargetRuntime win-x64 -OutputDirectory ${{ github.workspace }}\scripts\deploy