Skip to content

Commit 6ff15a9

Browse files
committed
Avoid using make generate
1 parent 4e108d2 commit 6ff15a9

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/foundation-sdk.yaml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
run: |
6868
make fetch-foundation-sdk
6969
70-
- name: Dry-run SDK release with current branch
70+
- name: Run SDK codegen pipeline
7171
shell: bash
7272
run: |
7373
git config --global user.email "cog-ci@grafana.com"
@@ -117,14 +117,22 @@ jobs:
117117
run: |
118118
make fetch-foundation-sdk
119119
120-
- name: Run codegen pipeline
120+
- name: Run SDK codegen pipeline
121+
shell: bash
121122
run: |
122-
devbox run -- 'cd ./build/foundation-sdk ; make generate'
123+
git config --global user.email "cog-ci@grafana.com"
124+
git config --global user.name "cog - CI"
125+
126+
devbox run ./build/foundation-sdk/scripts/prepare-release.sh
123127
env:
124-
GOGC: 'off'
128+
WORKSPACE_PATH: /tmp/foundation-workspace-examples
129+
CLEANUP_WORKSPACE: "no"
130+
SKIP_VALIDATION: "yes"
131+
LOG_LEVEL: "7" # debug
132+
GOGC: "off"
125133

126134
- name: Run examples
127-
run: devbox run ./build/foundation-sdk/scripts/run-examples.sh
135+
run: devbox run /tmp/foundation-workspace-examples/foundation-sdk/scripts/run-examples.sh
128136

129137
sdk_diff:
130138
name: Generate diff

0 commit comments

Comments
 (0)