aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/gradle.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/gradle.yml')
-rw-r--r--.github/workflows/gradle.yml14
1 files changed, 9 insertions, 5 deletions
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index 21ef39e..dd37cb2 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -11,18 +11,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 1.8
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v3
with:
- java-version: 1.8
+ distribution: 'temurin'
+ java-version: 8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- - name: Build with Gradle
+ - name: Set up Gradle build
run: ./gradlew SetupCIWorkspace build
- - uses: actions/upload-artifact@v2
+ - name: Build with Gradle
+ run: ./gradlew cleanBuildAll
+ working-directory: publish
+ - uses: actions/upload-artifact@v3
with:
name: Package
path: build/libs