forked from DiscordBots/lilJudd
feat: add build.yml
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
bf9754f404
commit
4ae3b0052b
1 changed files with 15 additions and 0 deletions
15
.forgejo/workflows/build.yml
Normal file
15
.forgejo/workflows/build.yml
Normal 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
|
Loading…
Reference in a new issue