From 2a65b0931d78902e130a2208f78806fbae9e0a1b Mon Sep 17 00:00:00 2001 From: Artyom Sovetnikov <2056864+Elringus@users.noreply.github.com> Date: Mon, 12 Feb 2024 19:52:41 +0300 Subject: [PATCH] fix ci --- .github/workflows/codeql.yml | 1 + .github/workflows/cover.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b6d0be4..f02aaa9 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -33,6 +33,7 @@ jobs: languages: ${{ matrix.language }} - name: build run: | + dotnet nuget add source https://nuget.pkg.github.com/naninovel/index.json -n github --username ${{ secrets.GH_USER }} --password ${{ secrets.GH_TOKEN }} --store-password-in-clear-text dotnet workload restore backend/Naninovel.Language.sln dotnet publish backend npm ci diff --git a/.github/workflows/cover.yml b/.github/workflows/cover.yml index eeb37b5..f2beb86 100644 --- a/.github/workflows/cover.yml +++ b/.github/workflows/cover.yml @@ -20,6 +20,7 @@ jobs: node-version: 20 - name: cover run: | + dotnet nuget add source https://nuget.pkg.github.com/naninovel/index.json -n github --username ${{ secrets.GH_USER }} --password ${{ secrets.GH_TOKEN }} --store-password-in-clear-text dotnet workload restore backend/Naninovel.Language.sln dotnet test backend /p:CollectCoverage=true /p:CoverletOutputFormat=opencover dotnet publish backend