feat: add build.yml

Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
moonleay 2023-08-04 21:17:15 +02:00
parent bf9754f404
commit 4ae3b0052b

View file

@ -0,0 +1,15 @@
on: [ push ]
jobs:
build_and_publish:
runs-on: gradle
steps:
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Clean Caches
run: |
rm -f .gradle/caches/modules-2/modules-2.lock
rm -fr .gradle/caches/*/plugin-resolution/
- name: Run shadowJar
run: ./gradlew shadowJar
- name: Run publish
run: ./gradlew publish