Skip to content

Added build action and status badge #1

Added build action and status badge

Added build action and status badge #1

Workflow file for this run

name: default
on:
push:
branches:
- '*'
- '**/*'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
java: [ 8.0.x ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- name: Cache .m2
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Prepare mvnw
run: chmod +x ./mvnw
- name: Build
run: ./mvnw clean package