Skip to content

Add github actions cache. #7

Add github actions cache.

Add github actions cache. #7

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
#- uses: graalvm/setup-graalvm@v1
# with:
# java-version: '22' # See 'Options' section below for all supported versions
# distribution: 'graalvm' # See 'Options' section below for all available distributions
# github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 8
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml', '**/package.json', '**/docker-compose.yaml') }}
restore-keys: |
${{ runner.os }}-maven-
- run: |
echo "JAVA_HOME: $JAVA_HOME"
java -version
./mvnw