File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 4343 with :
4444 enable-cache : true
4545
46+ # Cache Maven dependencies to speed up builds
47+ - name : ' Cache Maven dependencies'
48+ uses : ' actions/cache@v4'
49+ with :
50+ path : ~/.m2/repository
51+ key : ${{ runner.os }}-maven-${{ hashFiles('builder-api/pom.xml') }}
52+ restore-keys : |
53+ ${{ runner.os }}-maven-
54+
4655 # Configure Workload Identity Federation and generate an access token
4756 - id : ' auth'
4857 name : ' Authenticate to Google Cloud'
Original file line number Diff line number Diff line change 3737 with :
3838 enable-cache : true
3939
40+ # Cache Maven dependencies to speed up builds
41+ - name : ' Cache Maven dependencies'
42+ uses : ' actions/cache@v4'
43+ with :
44+ path : ~/.m2/repository
45+ key : ${{ runner.os }}-maven-${{ hashFiles('library-api/pom.xml') }}
46+ restore-keys : |
47+ ${{ runner.os }}-maven-
48+
4049 # Extract version from pom.xml (source of truth) using Maven
4150 - name : ' Extract version from pom.xml'
4251 id : extract_version
You can’t perform that action at this time.
0 commit comments