Skip to content

Support relocated artifacts #122

Support relocated artifacts

Support relocated artifacts #122

Workflow file for this run

name: Build
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
if: startsWith(github.event.head_commit.message, 'Releasing version') != true
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 11
distribution: zulu
cache: maven
- name: Cache Gradle
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}-${{ hashFiles('**/gradle.properties') }}
restore-keys: ${{ runner.os }}-gradle-
- name: Cache Gradle wrapper
uses: actions/cache@v4
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradlew-${{ hashFiles('**/gradlew') }}
restore-keys: ${{ runner.os }}-gradlew-
- name: Build
run: ./mvnw -ntp -B --file pom.xml verify