Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
934e383e86 | ||
|
|
217af75139 | ||
|
|
78c3878ec8 | ||
|
|
39c9443c09 | ||
|
|
ac772a624b | ||
|
|
969e224f32 | ||
|
|
46c333cdf5 |
11
action.yml
11
action.yml
@@ -26,11 +26,18 @@ runs:
|
||||
php-version: ${{ inputs.php-version }}
|
||||
extensions: sqlite3
|
||||
env:
|
||||
COMPOSER_TOKEN: ${{ GH_TOKEN }}
|
||||
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 config -g github-oauth.github.com $GH_TOKEN
|
||||
composer install --no-progress --prefer-dist --optimize-autoloader
|
||||
shell: bash
|
||||
|
||||
|
||||
Reference in New Issue
Block a user