mirror of
https://github.com/kaboomserver/extras.git
synced 2025-03-22 18:15:16 -04:00
* Add option to randomise spawn locations in config (closes #309)
* Add option to configure entity cap per chunk (closes #311)
* Suppress warnings for star imports
* Add missing return value & whitespace
* Explictly specify type of numbers in spawn randomization
* Upgrade to Java 11
* Make teleport centered
* Final configuration
* Remove star import
* Revert "Suppress warnings for star imports"
This reverts commit 2a2232b0da
.
* Let's try 17
33 lines
679 B
YAML
33 lines
679 B
YAML
name: Maven CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-java@v2
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: 18
|
|
|
|
- name: Cache maven packages to speed up build
|
|
uses: actions/cache@v1
|
|
with:
|
|
path: ~/.m2
|
|
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
|
restore-keys: ${{ runner.os }}-m2
|
|
|
|
- name: Build with Maven
|
|
run: mvn -B package --file pom.xml
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
with:
|
|
name: Extras
|
|
path: target/Extras.jar
|