We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d432c8a commit ad01cbcCopy full SHA for ad01cbc
1 file changed
.github/workflows/setup-stackql.yml
@@ -104,9 +104,8 @@ jobs:
104
shell: pwsh
105
run: | ## use the secret to create json file
106
$GoogleCreds = [System.Environment]::GetEnvironmentVariable("GOOGLE_CREDS_ENV")
107
- $bytes = [System.Text.Encoding]::UTF8.GetBytes($GoogleCreds)
108
- $base64 = [System.Convert]::ToBase64String($bytes)
109
- Write-Output $base64 | Set-Content sa-key.json
+ $GoogleCredsDecoded = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($GoogleCreds))
+ Write-Output $GoogleCredsDecoded | Set-Content sa-key.json
110
ls sa-key.json
111
cat sa-key.json
112
0 commit comments