Skip to content

Commit 15e5572

Browse files
committed
Merge branch '2.18' into 2.x
2 parents d9bcf21 + 36f8741 commit 15e5572

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ on:
33
push:
44
branches:
55
- master
6-
- "2.19"
6+
- 2.x
77
paths-ignore:
88
- "README.md"
99
- "release-notes/*"
1010
pull_request:
1111
branches:
12-
- master
13-
- "2.19"
12+
- 2.x
1413
paths-ignore:
1514
- "README.md"
1615
- "release-notes/*"
@@ -19,19 +18,18 @@ permissions:
1918

2019
jobs:
2120
build:
22-
runs-on: ${{ matrix.os }}
21+
runs-on: 'ubuntu-22.04'
2322
strategy:
2423
fail-fast: false
2524
matrix:
2625
# 20-Dec-2022, tatu: Build now requires JDK 11; won't yet work with JDK 17
2726
java_version: [ '11']
28-
os: ['ubuntu-22.04']
2927
env:
3028
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
3129
steps:
32-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4.2.2
3331
- name: Set up JDK
34-
uses: actions/setup-java@v3
32+
uses: actions/setup-java@v4.6.0
3533
with:
3634
distribution: 'temurin'
3735
java-version: ${{ matrix.java_version }}
@@ -46,9 +44,9 @@ jobs:
4644
run: ./mvnw -B -q -ff -ntp verify
4745
- name: Extract project Maven version
4846
id: projectVersion
49-
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate -DforceStdout -Dexpression=project.version -q)" >>$GITHUB_OUTPUT
47+
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1:evaluate -DforceStdout -Dexpression=project.version -q)" >>$GITHUB_OUTPUT
5048
- name: Deploy snapshot
51-
if: github.event_name != 'pull_request' && matrix.java_version == '11' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
49+
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '11' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
5250
env:
5351
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
5452
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}

0 commit comments

Comments
 (0)