Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
f3497f9a2b
commit
02d95b7d12
1 changed files with 10 additions and 14 deletions
|
@ -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 }}
|
|
||||||
|
|
Loading…
Reference in a new issue