Skip to content

Commit aca25ea

Browse files
committed
ci(update): set VERSION when running generate-types script
1 parent c2f23ed commit aca25ea

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/update.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,18 @@ jobs:
2222
- uses: actions/[email protected]
2323
- run: npm ci
2424
# do not update cache for dependabot update
25-
- run: npm run download
25+
- run: |
26+
npm run download
27+
npm run generate-types
2628
if: github.event_name == 'repository_dispatch'
2729
env:
2830
VERSION: ${{ github.event.client_payload.release.tag_name }}
29-
- run: npm run download
31+
- run: |
32+
npm run download
33+
npm run generate-types
3034
if: github.event_name == 'workflow_dispatch'
3135
env:
3236
VERSION: ${{ github.event.inputs.version }}
33-
- run: npm run generate-types
3437
3538
# create/update pull request for dispatch event update
3639
- name: Create Pull Request

0 commit comments

Comments
 (0)