From 3f7538916d55e7a82cbd5fdfd12a1fc698c5259b Mon Sep 17 00:00:00 2001 From: Eugene <151620493+asv-soft-u03@users.noreply.github.com> Date: Fri, 7 Jun 2024 12:57:02 +0300 Subject: [PATCH] add nuget config setup step --- .github/workflows/BuildForWindows.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/BuildForWindows.yml b/.github/workflows/BuildForWindows.yml index 9b693e63..c7212fd8 100644 --- a/.github/workflows/BuildForWindows.yml +++ b/.github/workflows/BuildForWindows.yml @@ -10,10 +10,30 @@ jobs: - name: Checkout code uses: actions/checkout@v2 + - name: Setup .NET uses: actions/setup-dotnet@v1 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: Install Workloads run: |