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