File tree 1 file changed +15
-3
lines changed 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 22
22
distribution : ' temurin'
23
23
java-version : ' 21'
24
24
25
+ - name : Cache Gradle dependencies
26
+ uses : actions/cache@v4
27
+ with :
28
+ path : |
29
+ ~/.gradle/caches
30
+ ~/.gradle/wrapper
31
+ key : gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
32
+ restore-keys : |
33
+ gradle-${{ runner.os }}-
34
+
25
35
- name : List root directory (debug)
26
36
run : ls -l
27
37
@@ -32,13 +42,15 @@ jobs:
32
42
run : ls -l .
33
43
34
44
- name : Build with Gradle
35
- run : ./gradlew clean build
45
+ run : ./gradlew build --parallel -- build-cache
36
46
37
47
- name : List build/libs directory (debug)
38
48
run : ls -l build/libs || echo "No JAR built"
39
49
40
- - name : Run insert command
41
- run :
java -jar build/libs/pdiff-all.jar insert -u [email protected]
50
+ - name : Move input and run insert
51
+ run : |
52
+ mv input raw
53
+ java -jar build/libs/pdiff-all.jar insert -u [email protected]
42
54
43
55
- name : Upload JAR Artifact
44
56
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments