java-workflow/.github/workflows/maven-library-build.yml
2022-01-20 16:05:17 +03:00

17 lines
364 B
YAML

name: Maven Build Artifact
on:
workflow_call:
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Maven Central Repository
uses: actions/setup-java@v2
with:
java-version: '15'
distribution: 'adopt'
- name: Build package
run: mvn --batch-mode clean compile