forked from DiscordBots/lilJudd
Update .forgejo/workflows/action.yml
Signed-off-by: moonleay <account@moonleay.net>
This commit is contained in:
parent
619be85353
commit
08b6601663
1 changed files with 6 additions and 8 deletions
|
@ -5,17 +5,15 @@ jobs:
|
|||
container:
|
||||
image: gradle
|
||||
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: Checkout project sources
|
||||
uses: actions/checkout@v3
|
||||
- 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: gradle shadowJar
|
||||
run: ./gradle shadowJar
|
||||
- name: Run publish
|
||||
run: gradle publish
|
||||
run: ./gradle publish
|
||||
|
|
Loading…
Reference in a new issue