Skip to content

Commit 6b19afb

Browse files
committed
Update CI to latest Ubuntu
1 parent d301acb commit 6b19afb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/main.yml

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

2020
jobs:
2121
build:
22-
runs-on: ${{ matrix.os }}
22+
runs-on: 'ubuntu-24.04'
2323
strategy:
2424
fail-fast: false
2525
matrix:
2626
java_version: ['8', '17', '21']
27-
os: ['ubuntu-22.04']
2827
env:
2928
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
3029
steps:
@@ -45,9 +44,9 @@ jobs:
4544
run: ./mvnw -B -q -ff -ntp verify
4645
- name: Extract project Maven version
4746
id: projectVersion
48-
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
4948
- name: Deploy snapshot
50-
if: github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
49+
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
5150
env:
5251
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
5352
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}

0 commit comments

Comments
 (0)