Skip to content

Commit 0b31904

Browse files
add protoc to GitHub actions
1 parent a982c7a commit 0b31904

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/gradle.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ jobs:
1414
contents: read
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- name: Checkout latest code
18+
uses: actions/checkout@v4
19+
1820
- name: Set up JDK 8
1921
uses: actions/setup-java@v4
2022
with:
@@ -26,8 +28,13 @@ jobs:
2628
- name: Setup Gradle
2729
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
2830

31+
- name: Setup Protobuf
32+
uses: arduino/setup-protoc@v3
33+
with:
34+
repo-token: ${{ secrets.GITHUB_TOKEN }}
35+
2936
- name: Clean
3037
run: ./gradlew -Pci clean
31-
38+
3239
- name: Test
3340
run: ./gradlew -Pci test

0 commit comments

Comments
 (0)