Skip to content

Commit c68624e

Browse files
committed
platform testing
1 parent 2d914aa commit c68624e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/setup-stackql.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888

8989
- name: Validate Stackql Version
9090
run: |
91-
stackql.exe --version
91+
stackql --version
9292
9393
- name: Use GitHub Provider
9494
run: |
@@ -99,7 +99,10 @@ jobs:
9999

100100
- name: Use Google Provider
101101
run: | ## use the secret to create json file
102-
sudo echo ${{ secrets.GOOGLE_CREDS }} | base64 -d > sa-key.json
102+
# sudo echo ${{ secrets.GOOGLE_CREDS }} | base64 -d > sa-key.json
103+
# $secrets = (Get-Content env:GOOGLE_CREDS)
104+
$decoded = [System.Convert]::FromBase64String(${{ secrets.GOOGLE_CREDS }})
105+
[System.Text.Encoding]::UTF8.GetString($decoded) | Set-Content sa-key.json
103106
stackql exec -i ./examples/google-example.iql --auth="${AUTH}"
104107
env:
105108
AUTH: ${{ vars.AUTH }} ## '{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }}'

0 commit comments

Comments
 (0)