Skip to content

Build main by @PeterPaul-Perfana #11

Build main by @PeterPaul-Perfana

Build main by @PeterPaul-Perfana #11

Workflow file for this run

---
name: Build
run-name: Build ${{ github.ref_name }} by @${{ github.actor }}
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get short SHA
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Maven build
run: ./mvnw clean package