Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba2012f7ed | ||
|
|
934e383e86 | ||
|
|
217af75139 |
11
action.yml
11
action.yml
@@ -25,12 +25,21 @@ runs:
|
|||||||
with:
|
with:
|
||||||
php-version: ${{ inputs.php-version }}
|
php-version: ${{ inputs.php-version }}
|
||||||
extensions: sqlite3
|
extensions: sqlite3
|
||||||
|
tools: composer:v2
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GHTKN }}
|
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
|
- name: Install Dependencies
|
||||||
|
if: steps.cache-vendor.outputs.cache-hit != 'true' # Skip if cache hit
|
||||||
run: |
|
run: |
|
||||||
composer install --no-progress --prefer-source --optimize-autoloader
|
composer install --no-progress --prefer-dist --optimize-autoloader
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
|
|||||||
Reference in New Issue
Block a user