1
0
Fork 0
mirror of https://github.com/xHyroM/lighteco.git synced 2024-11-25 08:11:04 +01:00

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>
This commit is contained in:
Saturn 2023-09-02 19:13:24 +00:00 committed by GitHub
parent 9c8e459ca8
commit 670f2b5dbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

22
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,22 @@
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

View file

@ -17,5 +17,6 @@ pluginManagement {
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()
gradlePluginPortal() gradlePluginPortal()
maven("https://repo.jopga.me/releases")
} }
} }