1
0
Fork 0
mirror of https://github.com/xHyroM/lighteco.git synced 2024-11-14 03:18:07 +01:00
lighteco/.github/workflows/ci.yml
Saturn 670f2b5dbd
ci: add build workflow (#3)
* GitHub CI (Untested)

* Fix

* Remove BukkitTest for now due to missing gradle plugin

* Readd Bukkit Test

* build: add plugins repo

* ci: build currency-money

---------

Co-authored-by: Jozef Steinhübl <xhyrom.hyro@gmail.com>
2023-09-02 21:13:24 +02:00

22 lines
573 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 bukkittest
./gradlew shadowJar -p bukkit
./gradlew shadowJar -p currency-money
- uses: actions/upload-artifact@v3
with:
name: Built Jars
path: |
./build/libs/*.jar