Skip to content

Commit a8b2294

Browse files
authored
Use the latest submodules when generating code is hooked (#593)
When we run `generate-code.yml` manually, this doesn't generated code when it's before line-openapi is not updated yet. This change fixes it. Note line-bot-sdk-php and line-bot-sdk-go do this. (python, java, and nodejs don't do this yet)
1 parent 7e43892 commit a8b2294

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/generated-code.yml

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
uses: actions/checkout@v4
1616
with:
1717
submodules: recursive
18+
- name: Update submodules
19+
run: git submodule update --remote --recursive
1820
- name: Set up Python
1921
uses: actions/setup-python@v5
2022
with:

0 commit comments

Comments
 (0)