From 03f949a1401d78db5990f8b83653d22899e29289 Mon Sep 17 00:00:00 2001 From: MaKrotos <43302537+MaKrotos@users.noreply.github.com> Date: Tue, 8 Oct 2024 14:30:25 +0300 Subject: [PATCH] Update dotnet-desktop.yml --- .github/workflows/dotnet-desktop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml index e44eded..4e8a3b3 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/dotnet-desktop.yml @@ -69,7 +69,7 @@ jobs: - name: Обновить TOKEN_STAT_SLY run: | $content = Get-Content -Path "D:\a\$repoName\$repoName\VKU3\VK UI3\StaticParams.cs" - $updatedContent = $content -replace 'Environment.GetEnvironmentVariable\("TOKEN_STAT_SLY"\)', "`" + $env:TOKEN_STAT_SLY + "`" + $updatedContent = $content -replace 'Environment.GetEnvironmentVariable\("TOKEN_STAT_SLY"\)', $env:TOKEN_STAT_SLY Set-Content -Path "D:\a\$repoName\$repoName\VKU3\VK UI3\StaticParams.cs" -Value $updatedContent