Skip to content

Commit dff3de9

Browse files
author
Stijn Klopper
committed
Upgrade deprecated actions/cache in workflow to v4
1 parent 805c435 commit dff3de9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121
php-version: ${{ matrix.php-versions }}
2222
- name: Get composer cache directory
2323
id: composer-cache
24-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
25-
- uses: actions/cache@v2
24+
run: |
25+
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
26+
- uses: actions/cache@v4
2627
with:
2728
path: ${{ steps.composer-cache.outputs.dir }}
2829
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}

0 commit comments

Comments
 (0)