java-workflow/.github/workflows/maven-library-build.yml

17 lines
364 B
YAML
Raw Normal View History

2022-01-20 13:05:17 +00:00
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