Skip to content

Commit 786a842

Browse files
authored
Fix generate code workflow's error (#1152)
I'm not sure why, but generate-code workflow failed. This change fixes it by using Java environment to generate code. https://github.com/line/line-bot-sdk-java/actions/runs/6854764947/job/18638387636
1 parent 91829da commit 786a842

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/generate-code.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ jobs:
1515
uses: actions/checkout@v4
1616
with:
1717
submodules: recursive
18-
- name: Set up Python
19-
uses: actions/setup-python@v4
18+
- name: Set up Java
19+
uses: actions/setup-java@v3
2020
with:
21-
python-version: '3.x'
21+
distribution: 'temurin'
22+
java-version: 17
23+
architecture: x64
2224
- name: Generate code
2325
run: |
2426
python generate-code.py

0 commit comments

Comments
 (0)