Skip to content

Bump org.springframework.cloud:spring-cloud-gateway-dependencies (#2327) #724

Bump org.springframework.cloud:spring-cloud-gateway-dependencies (#2327)

Bump org.springframework.cloud:spring-cloud-gateway-dependencies (#2327) #724

Workflow file for this run

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'