lilJudd/.forgejo/workflows/build.yml
moonleay 6b391f2e4d
Some checks failed
/ build_and_publish (push) Failing after 2s
fix: fixed build.yml????????????????
Signed-off-by: moonleay <contact@moonleay.net>
2023-08-05 02:23:20 +02:00

22 lines
623 B
YAML

on: [ push ]
jobs:
build_and_publish:
runs-on: docker
container:
image: gradle
uses:
steps:
- name: Checkout project sources
uses: DiscordBots/liljudd/actions/
- name: Export Gradle User Home
uses: export GRADLE_USER_HOME=`pwd`/.gradle
- name: Clean Caches
run: |
rm -f .gradle/caches/modules-2/modules-2.lock
rm -fr .gradle/caches/*/plugin-resolution/
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run shadowJar
run: gradle shadowJar
- name: Run publish
run: gradle publish