You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
redisson/.github/workflows/maven.yml

31 lines
630 B
YAML

5 years ago
name: Java CI
5 years ago
on: [push, pull_request]
5 years ago
permissions:
contents: read # to fetch code (actions/checkout)
5 years ago
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v2
5 years ago
with:
java-version: 21
distribution: temurin
- 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-
5 years ago
- name: Build with Maven
4 years ago
run: mvn -B verify --file pom.xml