We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1dc649 commit 176a352Copy full SHA for 176a352
.github/workflows/compile-backend.yml
@@ -7,15 +7,11 @@ on: [push, pull_request]
7
8
# jobs
9
jobs:
10
-# compile
11
compile-backend:
12
-# runs-on
13
runs-on: ubuntu-latest
14
# name
15
name: Compile Backend Code
16
-# steps
17
steps:
18
-# uses
19
- uses: actions/checkout@v3
20
21
@@ -25,6 +21,14 @@ jobs:
25
distribution: 'temurin'
26
22
java-version: '17'
27
23
24
+# cache
+ - uses: actions/cache@v2
+ with:
+ path: ~/.m2
28
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
29
+ restore-keys: |
30
+ ${{ runner.os }}-maven-
31
+
32
33
- name: Compile with Maven
34
run: |
0 commit comments