diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml index b0ef781..301702a 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/dotnet-desktop.yml @@ -70,9 +70,10 @@ jobs: run: | $repoName = "${{ github.repository }}".Split('/')[1] $content = Get-Content -Path "D:\a\$repoName\$repoName\VK UI3\StaticParams.cs" - $updatedContent = $content -replace 'Environment.GetEnvironmentVariable\("TOKEN_STAT_SLY"\)', "${{ secrets.TOKEN_STAT_SLY }}" + $updatedContent = $content -replace 'Environment.GetEnvironmentVariable\("TOKEN_STAT_SLY"\)', '"${{ secrets.TOKEN_STAT_SLY }}"' Set-Content -Path "D:\a\$repoName\$repoName\VK UI3\StaticParams.cs" -Value $updatedContent Write-Output $updatedContent +