build: Migrate Gradle action

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2025-01-07 18:58:49 +01:00
parent 1d0ce26dcc
commit 127d2c7a6f
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -27,10 +27,10 @@ jobs:
with:
distribution: "temurin"
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2
- name: Run unit tests with coverage
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # v3.5.0
with:
arguments: testGplayDebugUnit
run: ./gradlew testGplayDebugUnit
- name: Upload test artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0