Skip to content

Commit 98f8321

Browse files
committed
Fix CI
1 parent 5f96ca5 commit 98f8321

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
name: Build and Deploy Snapshot
22
on:
33
push:
4-
branches: [2.*]
54
paths-ignore:
65
- "README.md"
76
- "release-notes/*"
87
pull_request:
9-
branches: [2.*]
108
paths-ignore:
119
- "README.md"
1210
- "release-notes/*"
@@ -54,7 +52,7 @@ jobs:
5452
run: ./mvnw -B -q -ff -ntp -Dversion.joda=${{ matrix.joda_version }} surefire:test
5553
- name: Extract project Maven version
5654
id: projectVersion
57-
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
55+
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
5856
- name: Deploy snapshot
5957
if: ${{ github.event_name != 'pull_request' && matrix.snapshot && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
6058
env:
@@ -70,5 +68,5 @@ jobs:
7068
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
7169
with:
7270
token: ${{ secrets.CODECOV_TOKEN }}
73-
file: ./target/site/jacoco/jacoco.xml
71+
files: ./target/site/jacoco/jacoco.xml
7472
flags: unittests

0 commit comments

Comments
 (0)