Skip to content

Commit 901e8f7

Browse files
committed
windows fix
1 parent ad01cbc commit 901e8f7

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/setup-stackql.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,19 +100,15 @@ jobs:
100100
- name: Prep Google Creds
101101
env:
102102
GOOGLE_CREDS_ENV: ${{ secrets.GOOGLE_CREDS }}
103-
AUTH: ${{ vars.AUTH }} ## '{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }}'
104103
shell: pwsh
105104
run: | ## use the secret to create json file
106105
$GoogleCreds = [System.Environment]::GetEnvironmentVariable("GOOGLE_CREDS_ENV")
107106
$GoogleCredsDecoded = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($GoogleCreds))
108107
Write-Output $GoogleCredsDecoded | Set-Content sa-key.json
109-
ls sa-key.json
110-
cat sa-key.json
111108
112109
- name: Use Google Provider
113110
env:
114-
GOOGLE_CREDS_ENV: ${{ secrets.GOOGLE_CREDS }}
115111
AUTH: ${{ vars.AUTH }} ## '{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }}'
116112
shell: pwsh
117113
run: | ## use the secret to create json file
118-
stackql exec -i ./examples/google-example.iql --auth='{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }}'
114+
stackql exec -i ./examples/google-example.iql --auth="${AUTH}"

0 commit comments

Comments
 (0)