mirror of
https://github.com/xHyroM/lighteco.git
synced 2024-11-23 15:21:06 +01:00
Jozef Steinhübl
23e73cb5da
* feat: better command abstraction * feat: OfflineUserArgument type * feat: balance, balance other cmds in common & double, integer arg * feat: command manager, better arguments abstraction * feat: map args * feat: some things * feat(better command abstraction)!: switch to brigadier (#8) * feat: switch to brigadier * some updates * feat: make suggestion provider work * supress warnings * feat: pay & set command * feat: give & take command, better suggestions, permissions * refactor: cleanup * fix: dont register pay if currency is not payable * fix: send commands only if you have perms * make second test currency not payable * feat: use command's description & name * refactor: cleanup, rename bukkit to paper * refactor: cleanup, rename bukkit to paper * feat: add built-in info command * ci: build paper, not bukkit * refactor: better test organization * refactor: better test organization * feat: locks * feat: finish locking * feat: handle missing user * refactor: move methods to CommandHelper * refactor: change minimum api version * feat: console support
21 lines
528 B
YAML
21 lines
528 B
YAML
name: CI
|
|
on: [push, workflow_dispatch]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
java-version: 17
|
|
distribution: 'adopt'
|
|
- name: Build with Gradle
|
|
run: |
|
|
./gradlew shadowJar -p paper
|
|
./gradlew shadowJar -p currency-money
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: Built Jars
|
|
path: |
|
|
./build/libs/*.jar
|