@@ -14,30 +14,30 @@ jobs:
14
14
name : ' StackQL exec Google '
15
15
16
16
steps :
17
- - name : Checkout
18
- uses : actions/checkout@v3
19
-
20
- - name : Prep Google Creds (Windows)
21
- if : ${{ matrix.os == 'windows-latest'}}
22
- run : | # # use the secret to create json file
23
- $GoogleCreds = [System.Environment]::GetEnvironmentVariable("GOOGLE_CREDS_ENV")
24
- $GoogleCredsDecoded = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($GoogleCreds))
25
- Write-Output $GoogleCredsDecoded | Set-Content sa-key.json
26
- shell : pwsh
27
- env :
28
- GOOGLE_CREDS_ENV : ${{ secrets.GOOGLE_CREDS }}
29
-
30
- - name : Prep Google Creds (bash)
31
- if : ${{ matrix.os != 'windows-latest' }}
32
- shell : bash
33
- run : | # # use the base64 encoded secret to create json file
34
- sudo echo ${{ secrets.GOOGLE_CREDS }} | base64 -d > sa-key.json
35
-
36
- - name : exec google example
37
- uses : ./
38
- with :
39
- auth_obj_path : ' ./stackql_scripts/auth.json'
40
- query_file_path : ' ./stackql_scripts/google-example.iql'
17
+ - name : Checkout
18
+ uses : actions/checkout@v3
19
+
20
+ - name : Prep Google Creds (Windows)
21
+ if : ${{ matrix.os == 'windows-latest'}}
22
+ run : | # # use the secret to create json file
23
+ $GoogleCreds = [System.Environment]::GetEnvironmentVariable("GOOGLE_CREDS_ENV")
24
+ $GoogleCredsDecoded = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($GoogleCreds))
25
+ Write-Output $GoogleCredsDecoded | Set-Content sa-key.json
26
+ shell : pwsh
27
+ env :
28
+ GOOGLE_CREDS_ENV : ${{ secrets.GOOGLE_CREDS }}
29
+
30
+ - name : Prep Google Creds (bash)
31
+ if : ${{ matrix.os != 'windows-latest' }}
32
+ shell : bash
33
+ run : | # # use the base64 encoded secret to create json file
34
+ sudo echo ${{ secrets.GOOGLE_CREDS }} | base64 -d > sa-key.json
35
+
36
+ - name : exec google example
37
+ uses : ./
38
+ with :
39
+ auth_obj_path : ' ./stackql_scripts/auth.json'
40
+ query_file_path : ' ./stackql_scripts/google-example.iql'
41
41
42
42
stackql-exec-github-example :
43
43
strategy :
47
47
name : ' StackQL exec Github '
48
48
49
49
steps :
50
+ - name : Checkout
51
+ uses : actions/checkout@v3
52
+
50
53
- name : exec github example
51
54
uses : ./
52
55
with :
0 commit comments