diff --git a/.github/workflows/BuildForWindows.yml b/.github/workflows/BuildForWindows.yml index 229d09a0..51436fba 100644 --- a/.github/workflows/BuildForWindows.yml +++ b/.github/workflows/BuildForWindows.yml @@ -19,6 +19,24 @@ jobs: with: dotnet-version: | 8.x.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: Getting version id: version @@ -36,11 +54,6 @@ jobs: run: | cd src dotnet workload restore - - - name: Setup NuGet config - env: - NUGET_USERNAME: ${{ secrets.USER_NAME }} - NUGET_PASSWORD: ${{ secrets.GIHUB_NUGET_AUTH_TOKEN }} - name: Building projects run: |