Skip to content

Commit 101725a

Browse files
author
Stijn Klopper
committed
Upgrade deprecated actions/cache in workflow to v4
1 parent ccbc5e8 commit 101725a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ jobs:
1717
php-version: ${{ matrix.php-versions }}
1818
- name: Get composer cache directory
1919
id: composer-cache
20-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
21-
- uses: actions/cache@v2
20+
run: |
21+
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
22+
- uses: actions/cache@v4
2223
with:
2324
path: ${{ steps.composer-cache.outputs.dir }}
2425
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}

0 commit comments

Comments
 (0)