Skip to content

Commit 5aeb424

Browse files
committed
Update CI to latest Ubuntu
1 parent 5b487af commit 5aeb424

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ permissions:
2121

2222
jobs:
2323
build:
24-
runs-on: 'ubuntu-latest'
24+
runs-on: 'ubuntu-24.04'
2525
strategy:
2626
fail-fast: false
2727
matrix:
@@ -47,9 +47,9 @@ jobs:
4747
run: ./mvnw -V -B -ff -ntp verify
4848
- name: Extract project Maven version
4949
id: projectVersion
50-
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
50+
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
5151
- name: Deploy snapshot
52-
if: github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
52+
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
5353
env:
5454
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
5555
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}

0 commit comments

Comments
 (0)