Skip to content

Commit

Permalink
Update dotnet-desktop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MaKrotos authored Oct 8, 2024
1 parent c1042d2 commit fb0a7ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ jobs:
- name: Обновить TOKEN_STAT_SLY
run: |
$content = Get-Content -Path "D:\a\$repoName\$repoName\VK U3\VK UI3\StaticParams.cs"
$content = Get-Content -Path "D:\a\$repoName\$repoName\VK UI3\StaticParams.cs"
$updatedContent = $content -replace 'Environment.GetEnvironmentVariable\("TOKEN_STAT_SLY"\)', $env:TOKEN_STAT_SLY
Set-Content -Path "D:\a\$repoName\$repoName\VK U3\VK UI3\StaticParams.cs" -Value $updatedContent
Set-Content -Path "D:\a\$repoName\$repoName\VK UI3\StaticParams.cs" -Value $updatedContent
# Install the .NET Core workload
Expand Down

0 comments on commit fb0a7ac

Please sign in to comment.