Upgrade actions/cache to v3

Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
divyansh42 2022-06-02 13:31:36 +05:30
parent c0b899fbc8
commit 796a66693a
3 changed files with 6 additions and 6 deletions

View file

@ -143,7 +143,7 @@ jobs:
# Download the m2 repository from the cache to speed up the build.
- name: Check for Maven cache
id: check-mvn-cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ env.MVN_REPO_DIR }}
key: ${{ env.MVN_HASH }}
@ -163,7 +163,7 @@ jobs:
# If there was no cache hit above, store the output into the cache now.
- name: Save Maven repo into cache
if: ${{ steps.check-mvn-cache.outputs.cache-hit }} != 'true'
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ env.MVN_REPO_DIR }}
key: ${{ env.MVN_HASH }}

View file

@ -192,7 +192,7 @@ jobs:
# Download the m2 repository from the cache to speed up the build.
- name: Check for Maven cache
id: check-mvn-cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ env.MVN_REPO_DIR }}
key: ${{ env.MVN_HASH }}
@ -212,7 +212,7 @@ jobs:
# If there was no cache hit above, store the output into the cache now.
- name: Save Maven repo into cache
if: ${{ steps.check-mvn-cache.outputs.cache-hit }} != 'true'
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ env.MVN_REPO_DIR }}
key: ${{ env.MVN_HASH }}

View file

@ -53,7 +53,7 @@ jobs:
# Download the m2 repository from the cache to speed up the build.
- name: Check for Maven cache
id: check-mvn-cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ env.MVN_REPO_DIR }}
key: ${{ env.MVN_HASH }}
@ -73,7 +73,7 @@ jobs:
# If there was no cache hit above, store the output into the cache now.
- name: Save Maven repo into cache
if: ${{ steps.check-mvn-cache.outputs.cache-hit }} != 'true'
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ env.MVN_REPO_DIR }}
key: ${{ env.MVN_HASH }}