File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8888
8989 - name : Validate Stackql Version
9090 run : |
91- stackql.exe --version
91+ stackql --version
9292
9393 - name : Use GitHub Provider
9494 run : |
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" }}'
You can’t perform that action at this time.
0 commit comments