]> nmode's Git Repositories - signal-cli/commitdiff
Use gradle-build-action for caching and dependency submission
authorAsamK <asamk@gmx.de>
Tue, 17 Oct 2023 17:22:09 +0000 (19:22 +0200)
committerAsamK <asamk@gmx.de>
Tue, 17 Oct 2023 17:22:09 +0000 (19:22 +0200)
.github/workflows/ci.yml

index 06ffe066fcc2264dc7ac0524f137fd1335c5ee0e..fd5a938ddcb1fd8087ed15c64273f4a8e77e071a 100644 (file)
@@ -25,7 +25,10 @@ jobs:
         with:
           distribution: 'zulu'
           java-version: ${{ matrix.java }}
         with:
           distribution: 'zulu'
           java-version: ${{ matrix.java }}
-          cache: 'gradle'
+      - name: Setup Gradle
+        uses: gradle/gradle-build-action@v2
+        with:
+          dependency-graph: generate-and-submit
       - name: Build with Gradle
         run: ./gradlew --no-daemon build
       - name: Compress archive
       - name: Build with Gradle
         run: ./gradlew --no-daemon build
       - name: Compress archive