fix> update ci

Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
moonleay 2023-08-05 19:04:47 +02:00
parent 149ce7d5c6
commit c4233a7b6b

View file

@ -5,12 +5,17 @@ jobs:
container:
image: gradle
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Clean Caches
run: |
rm -f .gradle/caches/modules-2/modules-2.lock
rm -fr .gradle/caches/*/plugin-resolution/
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build and Package JAR with Gradle
uses: docker://gradle:latest # Use the official Gradle Docker image
with:
args: shadowJar
- name: Clean Caches
run: |
rm -f .gradle/caches/modules-2/modules-2.lock
rm -fr .gradle/caches/*/plugin-resolution/
- name: Run shadowJar
run: gradle shadowJar
- name: Run publish