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 91bac30 commit 9794915
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 9794915

Please sign in to comment.