File tree Expand file tree Collapse file tree 3 files changed +37
-8
lines changed
prometheus-metrics-exporter-opentelemetry Expand file tree Collapse file tree 3 files changed +37
-8
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Build
3+
4+ on :
5+ push :
6+ branches : ["main"]
7+ pull_request :
8+ branches : ["main"]
9+
10+ permissions : {}
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-24.04
15+ steps :
16+ - uses : actions/checkout@v4
17+ with :
18+ persist-credentials : false
19+ - uses : jdx/mise-action@7a111ead46986ccad89a74ad013ba2a7c08c9e67 # v2.1.1
20+ - name : Cache local Maven repository
21+ uses : actions/cache@v4
22+ with :
23+ path : ~/.m2/repository
24+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
25+ restore-keys : |
26+ ${{ runner.os }}-maven-
27+ - name : Run the Maven verify phase
28+ run : mise run build-release
Original file line number Diff line number Diff line change @@ -6,17 +6,13 @@ PROTO_GENERATION = "true"
66"go:github.com/gohugoio/hugo" = " latest"
77"go:github.com/grafana/oats" = " latest"
88java = " temurin-17.0.13+11"
9- lychee = " latest"
9+ lychee = " latest"
1010protoc = " latest"
1111
1212[tasks .ci ]
1313description = " CI Build"
14- run = [
15- " ./mvnw clean install" ,
16- # just to check if javadoc can be generated
17- " ./mvnw javadoc:javadoc -P javadoc"
18- ]
19- env = { REQUIRE_PROTO_UP_TO_DATE = " true" }
14+ run = " ./mvnw clean install"
15+ env.REQUIRE_PROTO_UP_TO_DATE = " true"
2016
2117[tasks .format ]
2218description = " format source code"
@@ -90,6 +86,11 @@ run = [
9086 " echo 'ls ./public/api' && ls ./public/api"
9187]
9288
89+ [tasks .build-release ]
90+ description = " Build release"
91+ run = " ./scripts/build-release.sh"
92+ env.TAG = " 1.4.0-SNAPSHOT"
93+
9394[settings ]
9495# to get lock file support and for go backend
9596experimental = true
Original file line number Diff line number Diff line change 1919 </description >
2020
2121 <properties >
22- <automatic .module.name>io.prometheus.metrics.exporter.opentelemetry.no-otel </automatic .module.name>
22+ <automatic .module.name>io.prometheus.metrics.exporter.opentelemetry.nootel </automatic .module.name>
2323 </properties >
2424
2525 <dependencyManagement >
You can’t perform that action at this time.
0 commit comments