Skip to content

Commit 3165b35

Browse files
use a new job to avoid unarchive issue
1 parent 19b2f7a commit 3165b35

File tree

1 file changed

+22
-13
lines changed

1 file changed

+22
-13
lines changed

.github/workflows/stackql-exec.yml

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ on:
66
- main
77
pull_request:
88
jobs:
9-
stackql-exec-test:
9+
stackql-exec-google-example:
1010
strategy:
1111
matrix:
1212
os: [ubuntu-latest, windows-latest, macos-latest]
1313
runs-on: ${{matrix.os}}
14-
name: 'StackQL exec'
14+
name: 'StackQL exec Google '
1515

1616
steps:
1717
- name: Checkout
@@ -39,14 +39,23 @@ jobs:
3939
auth_obj_path: './stackql_scripts/auth.json'
4040
query_file_path: './stackql_scripts/google-example.iql'
4141

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';"
51-
env:
52-
STACKQL_GITHUB_CREDS: ${{ secrets.STACKQL_GITHUB_CREDS }}
42+
stackql-exec-github-example:
43+
strategy:
44+
matrix:
45+
os: [ubuntu-latest, windows-latest, macos-latest]
46+
runs-on: ${{matrix.os}}
47+
name: 'StackQL exec Github '
48+
49+
steps:
50+
- name: exec github example
51+
uses: ./
52+
with:
53+
auth_str: '{ "github": { "type": "basic", "credentialsenvvar": "STACKQL_GITHUB_CREDS" } }'
54+
query: "REGISTRY PULL github v23.01.00104;
55+
SHOW PROVIDERS;
56+
select total_private_repos
57+
from github.orgs.orgs
58+
where org = 'stackql';"
59+
env:
60+
STACKQL_GITHUB_CREDS: ${{ secrets.STACKQL_GITHUB_CREDS }}
61+

0 commit comments

Comments
 (0)