Skip to content

Commit 7c7ad36

Browse files
commented the handle error step;
1 parent 83e1e2d commit 7c7ad36

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/example-workflows.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,15 @@ jobs:
3737
AUTH: ${{ vars.AUTH }} ##'{ "github": { "type": "basic", "credentialsenvvar": "STACKQL_GITHUB_CREDS" } }'
3838
STACKQL_GITHUB_CREDS: ${{ secrets.STACKQL_GITHUB_CREDS }}
3939

40-
- name: use Google Provider
40+
- name: Use Google Provider
4141
run: | ## use the secret to create json file
4242
sudo echo ${{ secrets.GOOGLE_CREDS }} | base64 -d > sa-key.json
4343
stackql exec -i ./examples/google-example.iql --auth="${AUTH}"
4444
env:
4545
AUTH: ${{ vars.AUTH }} ## '{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }}'
4646

47-
- name: handle error
48-
run: | ## use the secret to create json file
49-
stackql exec -i ./examples/github-example.iql --auth="${INVALID_AUTH}"
47+
##### uncomment the step to see error handling
48+
# - name: Handle error
49+
# run: | ## use the secret to create json file
50+
# stackql exec -i ./examples/github-example.iql --auth="${INVALID_AUTH}"
5051

0 commit comments

Comments
 (0)