forked from DiscordBots/lilJudd
fix> update ci
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
149ce7d5c6
commit
c4233a7b6b
1 changed files with 11 additions and 6 deletions
|
@ -5,12 +5,17 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: gradle
|
image: gradle
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
steps:
|
||||||
uses: actions/checkout@v2
|
- name: Checkout code
|
||||||
- name: Clean Caches
|
uses: actions/checkout@v2
|
||||||
run: |
|
- name: Build and Package JAR with Gradle
|
||||||
rm -f .gradle/caches/modules-2/modules-2.lock
|
uses: docker://gradle:latest # Use the official Gradle Docker image
|
||||||
rm -fr .gradle/caches/*/plugin-resolution/
|
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
|
- name: Run shadowJar
|
||||||
run: gradle shadowJar
|
run: gradle shadowJar
|
||||||
- name: Run publish
|
- name: Run publish
|
||||||
|
|
Loading…
Reference in a new issue