From 85d616506da6a6d83aa32209d4affac3c23ba739 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Tue, 21 Mar 2023 08:38:41 +0100 Subject: [PATCH] update action --- .gitea/workflows/test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 25659ff..7910a7f 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -19,16 +19,17 @@ jobs: - name: validate gradle wrapper uses: https://github.com/gradle/wrapper-validation-action@v1 - name: setup jdk 17 - uses: https://github.com/actions/setup-java@v3 + uses: setup-java@v3 with: java-version: 17 + distribution: 'oracle' - name: make gradle wrapper executable if: ${{ runner.os != 'Windows' }} run: chmod +x ./gradlew - name: build - run: ./gradlew build + run: ./gradlew build --no-daemon - name: test - run: ./gradlew test + run: ./gradlew test --no-daemon deploy: runs-on: ${{ ubuntu-22.04 }} if: gitea.ref == 'refs/heads/master'