Skip to content

Commit

Permalink
[TASK] Cache Composer dependencies in GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
astehlik committed Feb 10, 2024
1 parent 08cad9f commit 600c6ab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/composer/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/cache@v3
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.json') }}
- uses: php-actions/composer@v6
with:
php_version: ${{ inputs.php_version }}
Expand Down

0 comments on commit 600c6ab

Please sign in to comment.