Bump up actions/cache to v4 (#735)
This commit is contained in:
parent
7e200bbbb0
commit
f63a99277e
|
|
@ -39,7 +39,7 @@ runs:
|
|||
sed -i "/<\/sourceDirectories>/i <sourceDirectory>scenarios\/""${{ inputs.test_case }}""<\/sourceDirectory>" test/plugin/pom.xml
|
||||
echo "::endgroup::"
|
||||
- name: Cache local Maven repository
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-agent-test-${{ hashFiles('**/pom.xml') }}
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ runs:
|
|||
docker load -i test-containers/skywalking-agent-test-tomcat-1.0.0.tgz
|
||||
fi
|
||||
- name: Cache local Maven repository
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-agent-test-run-${{ hashFiles('**/pom.xml') }}
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ jobs:
|
|||
with:
|
||||
submodules: true
|
||||
- name: Cache local Maven repository
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-ci-${{ hashFiles('**/pom.xml') }}
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
with:
|
||||
submodules: true
|
||||
- name: Cache local Maven repository
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-publish-docker-${{ hashFiles('**/pom.xml') }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue