mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-12-02 23:53:27 +01:00
27 lines
573 B
YAML
27 lines
573 B
YAML
|
name: ProtocolLib full build lifecycle
|
||
|
|
||
|
on:
|
||
|
- push
|
||
|
- pull_request
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Setup java
|
||
|
uses: actions/setup-java@v2
|
||
|
with:
|
||
|
distribution: 'adopt'
|
||
|
java-version: '16'
|
||
|
check-latest: true
|
||
|
|
||
|
- name: Run maven build lifecycle
|
||
|
run: mvn --batch-mode clean test package
|
||
|
|
||
|
- name: Upload plugin file
|
||
|
uses: actions/upload-artifact@v2
|
||
|
with:
|
||
|
name: ProtocolLib
|
||
|
path: target/ProtocolLib.jar
|