@@ -31,20 +31,15 @@ jobs:
3131 run : |
3232 stackql exec -i ./examples/github-example.iql --auth='{ "github": { "type": "basic", "credentialsenvvar": "STACKQL_GITHUB_CREDS" } }'
3333 env :
34- # AUTH: ${{ vars.AUTH }} ##'{ "github": { "type": "basic", "credentialsenvvar": "STACKQL_GITHUB_CREDS" } }'
3534 STACKQL_GITHUB_CREDS : ${{ secrets.STACKQL_GITHUB_CREDS }}
3635
3736 - name : Prep Google Creds (bash)
3837 run : | # # use the secret to create json file
3938 sudo echo ${{ secrets.GOOGLE_CREDS }} | base64 -d > sa-key.json
40- # stackql exec -i ./examples/google-example.iql --auth='{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }}'
4139
4240 - name : Use Google Provider
43- run : | # # use the secret to create json file
44- # sudo echo ${{ secrets.GOOGLE_CREDS }} | base64 -d > sa-key.json
41+ run : |
4542 stackql exec -i ./examples/google-example.iql --auth='{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }}'
46- # env:
47- # AUTH: ${{ vars.AUTH }} ## '{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }}'
4843
4944 # #### uncomment the step to see error handling
5045 # - name: Handle error
@@ -70,20 +65,15 @@ jobs:
7065 run : |
7166 stackql exec -i ./examples/github-example.iql --auth='{ "github": { "type": "basic", "credentialsenvvar": "STACKQL_GITHUB_CREDS" } }'
7267 env :
73- # AUTH: ${{ vars.AUTH }} ##'{ "github": { "type": "basic", "credentialsenvvar": "STACKQL_GITHUB_CREDS" } }'
7468 STACKQL_GITHUB_CREDS : ${{ secrets.STACKQL_GITHUB_CREDS }}
7569
7670 - name : Prep Google Creds (bash)
7771 run : | # # use the secret to create json file
7872 sudo echo ${{ secrets.GOOGLE_CREDS }} | base64 -d > sa-key.json
79- # stackql exec -i ./examples/google-example.iql --auth='{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }}'
8073
8174 - name : Use Google Provider
82- run : | # # use the secret to create json file
83- # sudo echo ${{ secrets.GOOGLE_CREDS }} | base64 -d > sa-key.json
75+ run : |
8476 stackql exec -i ./examples/google-example.iql --auth='{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }}'
85- # env:
86- # AUTH: ${{ vars.AUTH }} ## '{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }}'
8777
8878 stackql-tests-windows :
8979 name : ' Stackql Tests (Windows)'
10494 run : |
10595 stackql exec -i ./examples/github-example.iql --auth='{ "github": { "type": "basic", "credentialsenvvar": "STACKQL_GITHUB_CREDS" } }'
10696 env :
107- # AUTH: ${{ vars.AUTH }} ##'{ "github": { "type": "basic", "credentialsenvvar": "STACKQL_GITHUB_CREDS" } }'
10897 STACKQL_GITHUB_CREDS : ${{ secrets.STACKQL_GITHUB_CREDS }}
10998
11099 - name : Prep Google Creds (Windows)
@@ -117,8 +106,5 @@ jobs:
117106 GOOGLE_CREDS_ENV : ${{ secrets.GOOGLE_CREDS }}
118107
119108 - name : Use Google Provider
120- # env:
121- # AUTH: ${{ vars.AUTH }} ## '{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }}'
122- # shell: pwsh
123- run : | # # use the secret to create json file
109+ run : |
124110 stackql exec -i ./examples/google-example.iql --auth='{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }}'
0 commit comments