mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-27 13:15:52 +01:00
7338183ed6
* chore: update github actions * test: fix initialization * test: add missing imports for test initialization
29 lines
610 B
YAML
29 lines
610 B
YAML
name: ProtocolLib full build lifecycle
|
|
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup java
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: '21'
|
|
cache: 'gradle'
|
|
|
|
- name: Run gradle build lifecycle
|
|
run: ./gradlew build shadowJar --no-daemon
|
|
|
|
- name: Upload plugin file
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: ProtocolLib
|
|
path: build/libs/ProtocolLib.jar
|