]> nmode's Git Repositories - signal-cli/commitdiff
Add caching for workflows
authorAsamK <asamk@gmx.de>
Mon, 31 Oct 2022 15:15:57 +0000 (16:15 +0100)
committerAsamK <asamk@gmx.de>
Mon, 31 Oct 2022 15:40:39 +0000 (16:40 +0100)
.github/workflows/ci.yml
.github/workflows/repackage-native-libs.yml

index f336c48008cbc51eed7b1dbc4f1eadb8517f3549..5a1fd42a5bbe486aa1077ff1c32b474c0bd55198 100644 (file)
@@ -17,6 +17,7 @@ jobs:
         with:
           distribution: 'adopt'
           java-version: ${{ matrix.java }}
+          cache: 'gradle'
       - name: Build with Gradle
         run: ./gradlew --no-daemon build
       - name: Compress archive
@@ -37,6 +38,7 @@ jobs:
         with:
           version: 'latest'
           java-version: '17'
+          cache: 'gradle'
           components: 'native-image'
           github-token: ${{ secrets.GITHUB_TOKEN }}
       - name: Build with Gradle
index 6d334ecf96d60656be728d46932c4681ec4108b6..a7428051b14100fc7a1a185a679f2b53c348e220 100644 (file)
@@ -179,6 +179,7 @@ jobs:
         with:
           distribution: 'adopt'
           java-version: ${{ env.JAVA_VERSION }}
+          java-package: 'jre'
 
       - name: Run signal-cli
         run: |