Bump org.apache.tomcat:tomcat-jdbc from 10.0.6 to 10.0.27 #681
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: [ main, 3.1.x ] | |
pull_request: | |
branches: [ main, 3.1.x ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: ["8", "11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java }} | |
- name: Cache local Maven repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Build with Maven | |
run: ./mvnw clean install -B -U -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false | |
test_arm64: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: ["8"] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up QEMU | |
id: qemu | |
uses: docker/setup-qemu-action@v3 | |
- name: Install and Run tests | |
run: | | |
docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \ | |
arm64v8/ubuntu:20.04 \ | |
bash -exc 'apt-get update -y && \ | |
apt-get install openjdk-8-jdk -y && \ | |
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-arm64 && \ | |
export PATH=$PATH:$JAVA_HOME/bin && \ | |
echo $PATH && \ | |
./mvnw clean install -B -U -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false' |