Skip to content

Commit 0c92522

Browse files
committed
fix release build
Signed-off-by: Gregor Zeitlinger <[email protected]>
1 parent d1ab9a8 commit 0c92522

File tree

3 files changed

+37
-8
lines changed

3 files changed

+37
-8
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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

mise.toml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,13 @@ PROTO_GENERATION = "true"
66
"go:github.com/gohugoio/hugo" = "latest"
77
"go:github.com/grafana/oats" = "latest"
88
java = "temurin-17.0.13+11"
9-
lychee = "latest"
9+
lychee = "latest"
1010
protoc = "latest"
1111

1212
[tasks.ci]
1313
description = "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]
2218
description = "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
9596
experimental = true

prometheus-metrics-exporter-opentelemetry/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
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>

0 commit comments

Comments
 (0)