Add caching for workflows

This commit is contained in:
AsamK committed 2022-10-31 16:40:39 +01:00
1 parent 43a7478791
commit eec3d782d3
2 files changed
+3

No files matched your search

+2
View 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
@@ -179,6 +179,7 @@ jobs:
with:
distribution: 'adopt'
java-version: ${{ env.JAVA_VERSION }}
java-package: 'jre'
- name: Run signal-cli
run: |