Skip to content

Commit db95ade

Browse files
committed
Fix CI
1 parent 1796ba3 commit db95ade

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/main.yml

+1-3
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/*"
@@ -51,7 +49,7 @@ jobs:
5149
run: ./mvnw -B -q -ff -ntp -Dversion.guava=${{ matrix.guava_version }} surefire:test
5250
- name: Extract project Maven version
5351
id: projectVersion
54-
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.4.1:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
52+
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
5553
- name: Deploy snapshot
5654
if: ${{ github.event_name != 'pull_request' && matrix.snapshot && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
5755
env:

0 commit comments

Comments
 (0)