Skip to content

Commit d143290

Browse files
authored
4.1.7: Use actions/cache v4.2.0 (#9757)
* Upgrade cache action to 4.2.0 * Fix copyright
1 parent 6dad629 commit d143290

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/actions/common/action.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2024 Oracle and/or its affiliates.
2+
# Copyright (c) 2024, 2025 Oracle and/or its affiliates.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -84,7 +84,7 @@ runs:
8484
java-version: ${{ env.JAVA_VERSION }}
8585
- name: Cache local Maven repository (read-write)
8686
if: ${{ inputs.maven-cache == 'read-write' }}
87-
uses: actions/cache@v4.0.2
87+
uses: actions/cache@v4.2.0
8888
with:
8989
# See https://github.com/actions/toolkit/issues/713
9090
# Include must not match top level directories
@@ -98,7 +98,7 @@ runs:
9898
local-maven-
9999
- name: Cache local Maven repository (read-only)
100100
if: ${{ inputs.maven-cache == 'read-only' }}
101-
uses: actions/cache/restore@v4.0.2
101+
uses: actions/cache/restore@v4.2.0
102102
with:
103103
path: |
104104
.m2/repository/**/*.*
@@ -109,7 +109,7 @@ runs:
109109
local-maven-
110110
- name: Build cache (read-write)
111111
if: ${{ inputs.build-cache == 'read-write' }}
112-
uses: actions/cache@v4.0.2
112+
uses: actions/cache@v4.2.0
113113
with:
114114
path: |
115115
./**/target/**
@@ -121,7 +121,7 @@ runs:
121121
build-cache-${{ github.run_id }}-
122122
- name: Build cache (read-only)
123123
if: ${{ inputs.build-cache == 'read-only' }}
124-
uses: actions/cache/restore@v4.0.2
124+
uses: actions/cache/restore@v4.2.0
125125
with:
126126
path: |
127127
./**/target/**

0 commit comments

Comments
 (0)