Przeglądaj źródła

Chore: add cache action in CI (#1201)

Goooler 4 lat temu
rodzic
commit
a5619bb0ee
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      .github/workflows/build-unsigned.yaml

+ 5 - 0
.github/workflows/build-unsigned.yaml

@@ -33,6 +33,11 @@ jobs:
         with:
           distribution: 'adopt'
           java-version: 11
+      - name: Gradle cache
+        uses: actions/cache@v2
+        with:
+          path: ~/.gradle/caches
+          key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle/wrapper/gradle-wrapper.properties', '**/buildSrc/src/main/kotlin/**.kt') }}
       - name: Setup Go
         uses: actions/setup-go@v2
         with: