Skip to content

Commit f87894a

Browse files
committed
Merge branch '2.19'
2 parents eda1fae + 91c56e9 commit f87894a

File tree

2 files changed

+24
-9
lines changed

2 files changed

+24
-9
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@ on:
1818
- "release-notes/*"
1919
jobs:
2020
build:
21-
runs-on: ${{ matrix.os }}
21+
runs-on: 'ubuntu-22.04'
2222
strategy:
2323
fail-fast: false
2424
matrix:
2525
java_version: ['8', '11', '17']
26-
os: ['ubuntu-20.04']
2726
env:
2827
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2928
steps:
@@ -46,17 +45,17 @@ jobs:
4645
id: projectVersion
4746
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
4847
- name: Deploy snapshot
49-
if: github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
48+
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
5049
env:
5150
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME3 }}
5251
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD3 }}
5352
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
5453
run: ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
55-
- name: Generate code coverage
56-
if: github.event_name != 'pull_request' && matrix.java_version == '8'
54+
- name: Generate code coverage
55+
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' }}
5756
run: ./mvnw -B -q -ff -ntp test
58-
- name: Publish code coverage
59-
if: github.event_name != 'pull_request' && matrix.java_version == '8'
57+
- name: Publish code coverage
58+
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' }}
6059
uses: codecov/codecov-action@v1
6160
with:
6261
token: ${{ secrets.CODECOV_TOKEN }}
Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
1-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
2-
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
18+
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.1/maven-wrapper-3.3.1.jar

0 commit comments

Comments
 (0)