Skip to content

Commit 68b54d4

Browse files
committed
build: fix coverage workflow
1 parent b37d283 commit 68b54d4

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/coverage.yml

+1
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ jobs:
2222
with:
2323
fail_ci_if_error: true
2424
verbose: true
25+
token: cf0cba0a-22f8-4580-89ab-4f1dec3bda6f

.github/workflows/maven.yaml

+8-1
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,17 @@ jobs:
1818
- name: Checkout
1919
uses: actions/checkout@v2
2020
- name: Set up JDK ${{ matrix.jdk }}
21-
uses: actions/setup-java@v2
21+
uses: actions/setup-java@v4
2222
with:
2323
java-version: ${{ matrix.jdk }}
2424
distribution: "adopt"
2525
cache: "maven"
2626
- name: Build with Maven
2727
run: mvn -B package --file pom.xml
28+
- name: Upload JVM crash logs
29+
if: failure()
30+
uses: actions/upload-artifact@v4
31+
with:
32+
name: jvm-crash-logs
33+
path: /Users/runner/work/rocketmq/rocketmq/auth/hs_err_pid*.log
34+
retention-days: 1

0 commit comments

Comments
 (0)