From 9d5e8ddc7081fc145a2f329f6653f7e1a582968a Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Wed, 13 Nov 2019 06:14:04 +0530 Subject: [PATCH] Update cache dependencies section after fix --- README.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/README.md b/README.md index 9476bcd4..623fbecb 100644 --- a/README.md +++ b/README.md @@ -188,22 +188,13 @@ You can persist composer's internal cache directory using the [`action/cache`](h id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" -- name: Cache on linux and macOS - if: runner.os != 'Windows' +- name: Cache dependencies uses: actions/cache@v1 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: ${{ runner.os }}-composer- -- name: Cache on windows - if: runner.os == 'Windows' - uses: actions/cache@v1 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ hashFiles('**composer.lock') }} - restore-keys: ${{ runner.os }}-composer- - - name: Install Dependencies run: composer install --prefer-dist ```