File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,21 @@ jobs:
30
30
- name : Prep Google Creds (bash)
31
31
if : ${{ matrix.os != 'windows-latest' }}
32
32
shell : bash
33
- run : | # # use the secret to create json file
33
+ run : | # # use the base64 encoded secret to create json file
34
34
sudo echo ${{ secrets.GOOGLE_CREDS }} | base64 -d > sa-key.json
35
35
36
36
- name : exec google example
37
37
uses : ./
38
38
with :
39
39
auth_obj_path : ' ./stackql_scripts/auth.json'
40
- query_file_path : ' ./stackql_scripts/google-example.iql'
40
+ query_file_path : ' ./stackql_scripts/google-example.iql'
41
+
42
+ - name : exec github example
43
+ uses : ./
44
+ with :
45
+ auth_str : ' { "github": { "type": "basic", "credentialsenvvar": "STACKQL_GITHUB_CREDS" } }'
46
+ query : " REGISTRY PULL github v23.01.00104;
47
+ SHOW PROVIDERS;
48
+ select total_private_repos
49
+ from github.orgs.orgs
50
+ where org = 'stackql';"
You can’t perform that action at this time.
0 commit comments