vendor cache added

This commit is contained in:
Anatoliy Poloz
2023-12-13 13:50:15 +03:00
parent 217af75139
commit 934e383e86

View File

@@ -28,7 +28,15 @@ runs:
env:
GITHUB_TOKEN: ${{ secrets.GHTKN }}
- name: Cache Vendor
id: cache-vendor
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-vendor-${{ hashFiles('**/composer.lock') }}
- name: Install Dependencies
if: steps.cache-vendor.outputs.cache-hit != 'true' # Skip if cache hit
run: |
composer install --no-progress --prefer-dist --optimize-autoloader
shell: bash