Skip to content

Commit d3d2c4c

Browse files
committed
fix protoc generation
Signed-off-by: Gregor Zeitlinger <[email protected]>
1 parent 6a71789 commit d3d2c4c

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414
- uses: asdf-vm/actions/install@v3
15-
- name: Set up JDK
16-
uses: actions/setup-java@v4
15+
- name: Cache local Maven repository
16+
uses: actions/cache@v4
1717
with:
18-
java-version: 17
19-
distribution: temurin
20-
cache: 'maven'
18+
path: ~/.m2/repository
19+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
20+
restore-keys: |
21+
${{ runner.os }}-maven-
2122
- name: Run the Maven verify phase
2223
env:
2324
PROTO_GENERATION: true

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
java temurin-17.0.7+7
2+
protoc 28.3

prometheus-metrics-exposition-formats/.tool-versions

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)