Skip to content

Commit 42d4e5c

Browse files
committed
Cleaner
1 parent 3900892 commit 42d4e5c

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/build_and_test.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,7 @@ jobs:
106106
build/zinc-*
107107
build/scala-*
108108
build/*.jar
109-
key: >-
110-
build-${{ hashFiles('**/pom.xml') }}
111-
-${{ hashFiles('project/build.properties') }}
112-
-${{ hashFiles('build/mvn') }}
113-
-${{ hashFiles('build/sbt') }}
114-
-${{ hashFiles('build/sbt-launch-lib.bash') }}
115-
-${{ hashFiles('build/spark-build-info') }}
109+
key: build-${{ hashFiles('**/pom.xml', 'project/build.properties', 'build/mvn', 'build/sbt', 'build/sbt-launch-lib.bash', 'build/spark-build-info') }}
116110
restore-keys: |
117111
build-
118112
- name: Cache Maven local repository
@@ -126,7 +120,7 @@ jobs:
126120
uses: actions/cache@v2
127121
with:
128122
path: ~/.ivy2/cache
129-
key: ${{ matrix.java }}-${{ matrix.hadoop }}-ivy-${{ hashFiles('**/pom.xml') }}-${{ hashFiles('**/plugins.sbt') }}
123+
key: ${{ matrix.java }}-${{ matrix.hadoop }}-ivy-${{ hashFiles('**/pom.xml', '**/plugins.sbt') }}
130124
restore-keys: |
131125
${{ matrix.java }}-${{ matrix.hadoop }}-ivy-
132126
- name: Install JDK ${{ matrix.java }}

0 commit comments

Comments
 (0)