Skip to content

Commit

Permalink
test - reenable composer cache
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleuverink committed Aug 26, 2024
1 parent 73a04c9 commit 03c41ff
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ jobs:
extensions: zip
coverage: xdebug

# - name: Get Composer Cache Directory
# id: composer-cache
# run: |
# echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

# - name: Restore Composer Cache
# uses: actions/cache@v4
# with:
# path: ${{ steps.composer-cache.outputs.dir }}
# key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
# restore-keys: |
# ${{ runner.os }}-composer-
- name: Get Composer Cache Directory
id: composer-cache
run: |
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Restore Composer Cache
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Install Composer dependecies
run: composer update --no-progress --optimize-autoloader --${{ matrix.dependency-version }}
Expand Down

0 comments on commit 03c41ff

Please sign in to comment.