Skip to content

Commit 11cca61

Browse files
StijnKlopper2kStijn Klopper
and
Stijn Klopper
authored
Upgrade deprecated actions/cache in workflow to v4 (#18)
Co-authored-by: Stijn Klopper <[email protected]>
1 parent a70ee36 commit 11cca61

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
@@ -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)