Skip to content

Commit 2b3f0a3

Browse files
authored
Use the latest submodules when generating code is hooked (#1232)
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 3f74d3e commit 2b3f0a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/generate-code.yml

Lines changed: 2 additions & 0 deletions
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 Java
1921
uses: actions/setup-java@v4
2022
with:

0 commit comments

Comments
 (0)