forked from DiscordBots/lilJudd
Update .forgejo/workflows/action.yml
This commit is contained in:
parent
1e65e609e1
commit
fc6824cd5e
1 changed files with 11 additions and 13 deletions
|
@ -4,18 +4,16 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build_and_publish:
|
build_and_publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
steps:
|
||||||
image: gradle
|
- name: Checkout project sources
|
||||||
steps:
|
uses: actions/checkout@v3
|
||||||
- name: Checkout project sources
|
- name: Setup Gradle
|
||||||
uses: actions/checkout@v3
|
uses: gradle/gradle-build-action@v2
|
||||||
- name: Setup Gradle
|
- name: Clean Caches
|
||||||
uses: gradle/gradle-build-action@v2
|
run: |
|
||||||
- name: Clean Caches
|
rm -f .gradle/caches/modules-2/modules-2.lock
|
||||||
run: |
|
rm -fr .gradle/caches/*/plugin-resolution/
|
||||||
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
|
||||||
run: ./gradle publish
|
run: ./gradle publish
|
||||||
|
|
Loading…
Reference in a new issue