Skip to content

Commit d9d9033

Browse files
committed
Update CI
1 parent 8047328 commit d9d9033

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/main.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
name: Build and Deploy Snapshot
22
on:
33
push:
4-
branches:
5-
- master
6-
- "3.0"
7-
- "2.18"
4+
branches: [2.*]
85
paths-ignore:
96
- "README.md"
107
- "release-notes/*"
118
pull_request:
12-
branches:
13-
- master
14-
- "3.0"
15-
- "2.18"
9+
branches: [2.*]
1610
paths-ignore:
1711
- "README.md"
1812
- "release-notes/*"
@@ -22,7 +16,7 @@ permissions:
2216

2317
jobs:
2418
build:
25-
runs-on: 'ubuntu-22.04'
19+
runs-on: 'ubuntu-latest'
2620
strategy:
2721
fail-fast: false
2822
max-parallel: 5
@@ -60,7 +54,7 @@ jobs:
6054
run: ./mvnw -B -q -ff -ntp -Dversion.kotlin=${{ matrix.kotlin_version }} surefire:test
6155
- name: Extract project Maven version
6256
id: projectVersion
63-
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
57+
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
6458
- name: Deploy snapshot
6559
if: ${{ github.event_name != 'pull_request' && matrix.release_build && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
6660
env:

0 commit comments

Comments
 (0)