Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
934e383e86 | ||
|
|
217af75139 |
10
action.yml
10
action.yml
@@ -28,9 +28,17 @@ 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-source --optimize-autoloader
|
||||
composer install --no-progress --prefer-dist --optimize-autoloader
|
||||
shell: bash
|
||||
|
||||
- name: Prepare
|
||||
|
||||
Reference in New Issue
Block a user