Skip to content

Commit e77c2a0

Browse files
committed
chore: update actions/cache version to v4.2.2 in ci.yml for improved caching
1 parent d96ceaa commit e77c2a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
- name: Checkout repository
7878
uses: actions/checkout@v4.2.2 # cache maven packages step - caching maven packages to speed up the build process. Link to the documentation - https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
7979
- name: Cache Maven packages
80-
uses: actions/cache@v4.1.2 # defining cache key and restore keys for the cache step. Link to the documentation - https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key
80+
uses: actions/cache@v4.2.2 # defining cache key and restore keys for the cache step. Link to the documentation - https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key
8181
with:
8282
path: ~/.m2/repository # path to the directory where maven packages are stored - /root/.m2 in the container
8383
key: ${{ runner.os }}-build-${{ hashFiles('**/pom.xml') }}
@@ -160,7 +160,7 @@ jobs:
160160
# caching the maven packages to speed up the build process.
161161
# Link to the documentation - https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
162162
- name: Cache Maven packages
163-
uses: actions/cache@v4.1.2 # defining the cache key and restore keys for the cache step. Link to the documentation - https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key
163+
uses: actions/cache@v4.2.2 # defining the cache key and restore keys for the cache step. Link to the documentation - https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key
164164
with:
165165
path: /root/.m2 # path to cache
166166
key: ${{ runner.os }}-junit-${{ hashFiles('**/pom.xml') }} # key for restoring and saving the cache

0 commit comments

Comments
 (0)