Skip to content

Commit 0b13654

Browse files
dfa1claude
andcommitted
ci: pin flatc to 25.12.19 from GitHub releases
apt flatbuffers-compiler ships an old version that generates different method names (_compression → compression()), breaking compilation. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c965485 commit 0b13654

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,15 @@ jobs:
1919
distribution: zulu
2020
java-version: '25'
2121

22-
- name: Install flatbuffers and protobuf
23-
run: sudo apt-get install -y flatbuffers-compiler protobuf-compiler
22+
- name: Install protobuf compiler
23+
run: sudo apt-get install -y protobuf-compiler
24+
25+
- name: Install flatc 25.12.19
26+
run: |
27+
curl -fsSL -o flatc.zip https://github.com/google/flatbuffers/releases/download/v25.12.19/Linux.flatc.binary.g++-13.zip
28+
unzip -j flatc.zip flatc
29+
sudo install -m 755 flatc /usr/local/bin/flatc
30+
flatc --version
2431
2532
- name: Build and test
2633
run: ./mvnw verify

0 commit comments

Comments
 (0)