1 parent ca80e7c commit 49d540eCopy full SHA for 49d540e
1 file changed
.github/workflows/build-java-app-workflow.yml
@@ -43,6 +43,14 @@ jobs:
43
distribution: 'temurin'
44
java-version: '8'
45
cache: 'maven'
46
+ - name: Cache local Maven repository
47
+ uses: actions/cache@v4
48
+ with:
49
+ path: ~/.m2/repository
50
+ key: ${{ github.ref }}-${{ inputs.hadoop_flavour || vars.HADOOP_FLAVOUR }}-maven-${{ hashFiles('**/pom.xml') }}-${{ hashFiles('**/*.jar') }}
51
+ restore-keys: |
52
+ ${{ github.ref }}-${{ inputs.hadoop_flavour || vars.HADOOP_FLAVOUR }}-maven-
53
+ save-always: true
54
- name: Install dependencies branches
55
run: |
56
if [ -f "./.github/workflows/scripts/get_same_branch.sh" ]; then
0 commit comments