Skip to content

Update actions/cache action to v5 #17

Update actions/cache action to v5

Update actions/cache action to v5 #17

Workflow file for this run

name: Artemis Cli (PRs & Main Branch)
on:
push:
branches: [ main ]
paths-ignore:
- '**.md'
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
name: "Full build"
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
submodules: true
- name: Set up JDK
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 21
- name: Cache Maven packages
uses: actions/cache@v5
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Cache Distributions
uses: actions/cache@v5
with:
path: ./dist
key: cache-dist-${{github.run_id}}
- name: Verify with Maven
run: mvn -B clean verify