mirror of
https://github.com/xHyroM/lighteco.git
synced 2024-11-10 01:18:07 +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:
parent
9c8e459ca8
commit
670f2b5dbd
2 changed files with 23 additions and 0 deletions
22
.github/workflows/ci.yml
vendored
Normal file
22
.github/workflows/ci.yml
vendored
Normal 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
|
|
@ -17,5 +17,6 @@ pluginManagement {
|
|||
mavenLocal()
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
maven("https://repo.jopga.me/releases")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue