Skip to content

Bump actions/setup-java from 5 to 5.6.0 #181

Bump actions/setup-java from 5 to 5.6.0

Bump actions/setup-java from 5 to 5.6.0 #181

Workflow file for this run

name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: install git secrets
run: |
wget --no-verbose -O git-secrets-1.3.0.tar.gz https://github.com/awslabs/git-secrets/archive/1.3.0.tar.gz
tar -zxf git-secrets-1.3.0.tar.gz
cd git-secrets-1.3.0
sudo make install
- uses: actions/checkout@v7
# Step that does that actual cache save and restore
- uses: actions/cache@v6
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK
uses: actions/setup-java@v5.6.0
with:
java-version: '21.0.2+13.0.LTS'
distribution: 'adopt'
- name: Build with mvn
run: ./mvnw -B -ntp clean install