fix: fixed build.yml???????????
Some checks failed
/ build_and_publish (push) Failing after 2s

Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
moonleay 2023-08-05 02:15:48 +02:00
parent f3497f9a2b
commit 02d95b7d12

View file

@ -4,23 +4,19 @@ jobs:
runs-on: docker runs-on: docker
container: container:
image: gradle image: gradle
uses: git.moonleay.net/DiscordBots/liljudd/actions/checkout@v3
steps: steps:
- name: Checkout project sources
uses: actions/checkout@v2
- name: Clean Caches - name: Clean Caches
run: | run: |
rm -f .gradle/caches/modules-2/modules-2.lock rm -f .gradle/caches/modules-2/modules-2.lock
rm -fr .gradle/caches/*/plugin-resolution/ rm -fr .gradle/caches/*/plugin-resolution/
- name: Export Gradle User Home
- name: Setup Gradle User Home uses: export GRADLE_USER_HOME=`pwd`/.gradle
run: export GRADLE_USER_HOME=`pwd`/.gradle - name: Checkout project sources
uses: actions/checkout@v3
- name: Setup Gradle - name: Setup Gradle
uses: gradle/gradle-build-action@v2 uses: gradle/gradle-build-action@v2
with: - name: Run shadowJar
args: shadowJar publish run: gradle shadowJar
env: - name: Run publish
GRADLE_OPTS: "-Dorg.gradle.daemon=false" run: gradle publish
GIT_SUBMODULE_STRATEGY: recursive
working-directory: ${{ github.workspace }}