diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 10fbf7e..b53e3e9 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -19,14 +19,13 @@ jobs: with: distribution: temurin java-version: 21 + cache: gradle # Accepts the SDK licenses, so AGP can fetch the build tools it wants on its own. - uses: android-actions/setup-android@v3 with: packages: platform-tools platforms;android-37 - - uses: gradle/actions/setup-gradle@v4 - - run: ./gradlew testDebugUnitTest lint assembleDebug # Gitea's artifact backend speaks the v3 protocol only. diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index cd1a4d7..a0ef512 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -29,13 +29,12 @@ jobs: with: distribution: temurin java-version: 21 + cache: gradle - uses: android-actions/setup-android@v3 with: packages: platform-tools platforms;android-37 - - uses: gradle/actions/setup-gradle@v4 - - name: Read versions id: versions run: |