Improve Actions #27
1 changed files with 11 additions and 0 deletions
|
@ -37,6 +37,16 @@ jobs:
|
|||
${{ env.WP_TESTS_DIR }}
|
||||
key: cache-wordpress-1
|
||||
|
||||
- name: Cache Composer
|
||||
id: cache-composer
|
||||
uses: https://code.forgejo.org/actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
./vendor/
|
||||
/root/.cache/composer/
|
||||
/usr/local/bin/composer
|
||||
key: cache-composer-2
|
||||
|
||||
- name: Setup PHP
|
||||
uses: https://github.com/shivammathur/setup-php@v2
|
||||
with:
|
||||
|
@ -47,6 +57,7 @@ jobs:
|
|||
runner: self-hosted
|
||||
|
||||
- name: Install Composer dependencies for PHP
|
||||
if: steps.cache-composer.outputs.cache-hit != 'true'
|
||||
uses: ramsey/composer-install@v3
|
||||
|
||||
- name: Install mysqladmin
|
||||
|
|
Loading…
Reference in a new issue