Skip to content

Commit d9bd916

Browse files
committed
Merge branch '2.18' into 2.19
2 parents 08349a2 + 6b19afb commit d9bd916

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@ permissions:
1717

1818
jobs:
1919
build:
20-
runs-on: ${{ matrix.os }}
20+
runs-on: 'ubuntu-24.04'
2121
strategy:
2222
fail-fast: false
2323
matrix:
2424
java_version: ['8', '17', '21']
25-
os: ['ubuntu-22.04']
2625
env:
2726
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2827
steps:
@@ -43,9 +42,9 @@ jobs:
4342
run: ./mvnw -B -q -ff -ntp verify
4443
- name: Extract project Maven version
4544
id: projectVersion
46-
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
45+
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
4746
- name: Deploy snapshot
48-
if: github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
47+
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
4948
env:
5049
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
5150
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}

0 commit comments

Comments
 (0)