From b779cdabd383b5c0a0a3171e0c4b25615beb1a5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=B2?= Date: Mon, 1 Jul 2024 14:07:15 +0300 Subject: [PATCH] test 3 --- .github/workflows/ApiReleaseDeployAction.yml | 19 ++----------------- .../ApiReleaseDeployActionGitHubOnly.yml | 19 ++----------------- 2 files changed, 4 insertions(+), 34 deletions(-) diff --git a/.github/workflows/ApiReleaseDeployAction.yml b/.github/workflows/ApiReleaseDeployAction.yml index d1546d2f..4cebf3bb 100644 --- a/.github/workflows/ApiReleaseDeployAction.yml +++ b/.github/workflows/ApiReleaseDeployAction.yml @@ -22,23 +22,8 @@ jobs: with: dotnet-version: '8.0.x' - - name: Setup NuGet config - env: - NUGET_USERNAME: ${{ secrets.USER_NAME }} - NUGET_PASSWORD: ${{ secrets.GIHUB_NUGET_AUTH_TOKEN }} - run: | - echo "" > nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config + - name: Add NuGet source + run: dotnet nuget add source "https://nuget.pkg.github.com/asv-soft/index.json" \--username '${{secrets.USER_NAME}}' \--password '${{secrets.GIHUB_NUGET_AUTH_TOKEN}}' \--store-password-in-clear-text - name: Install dependencies run: dotnet restore ./src/Asv.Drones.Gui.Api/Asv.Drones.Gui.Api.csproj diff --git a/.github/workflows/ApiReleaseDeployActionGitHubOnly.yml b/.github/workflows/ApiReleaseDeployActionGitHubOnly.yml index fe65c9d3..99b29e98 100644 --- a/.github/workflows/ApiReleaseDeployActionGitHubOnly.yml +++ b/.github/workflows/ApiReleaseDeployActionGitHubOnly.yml @@ -18,23 +18,8 @@ jobs: with: dotnet-version: '8.0.x' - - name: Setup NuGet config - env: - NUGET_USERNAME: ${{ secrets.USER_NAME }} - NUGET_PASSWORD: ${{ secrets.GIHUB_NUGET_AUTH_TOKEN }} - run: | - echo "" > nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config - echo "" >> nuget.config + - name: Add NuGet source + run: dotnet nuget add source "https://nuget.pkg.github.com/asv-soft/index.json" \--username '${{secrets.USER_NAME}}' \--password '${{secrets.GIHUB_NUGET_AUTH_TOKEN}}' \--store-password-in-clear-text - name: Install dependencies run: dotnet restore ./src/Asv.Drones.Gui.Api/Asv.Drones.Gui.Api.csproj