Skip to content

Commit

Permalink
Merge pull request #29 from StijnKlopper2k/1.1
Browse files Browse the repository at this point in the history
Upgrade deprecated actions/cache in workflow to v4
  • Loading branch information
StijnKlopper2k authored Feb 11, 2025
2 parents a36c6f7 + 69e9e2f commit a46bd2c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ jobs:
php-version: ${{ matrix.php-versions }}
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- uses: actions/cache@v2
run: |
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Expand Down

0 comments on commit a46bd2c

Please sign in to comment.