Skip to content

Commit

Permalink
Use the latest submodules when generating code is hooked (#593)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
Yang-33 committed Feb 5, 2024
1 parent 7e43892 commit a8b2294
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/generated-code.yml
Expand Up @@ -15,6 +15,8 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
- name: Update submodules
run: git submodule update --remote --recursive
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit a8b2294

Please sign in to comment.