mirror of
https://github.com/xHyroM/lighteco.git
synced 2024-11-24 07:41:05 +01:00
23 lines
573 B
YAML
23 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
|