Browse Source
try caching composer vendor stuff in the github build
pull/883/head
David Goodwin
12 months ago
Failed to extract signature
1 changed files with
26 additions and
0 deletions
-
.github/workflows/php.yml
|
|
|
@ -15,6 +15,19 @@ jobs: |
|
|
|
tools: composer |
|
|
|
extensions: sqlite3, gd |
|
|
|
|
|
|
|
- name: Get composer cache directory |
|
|
|
if: ${{ !env.ACT }} |
|
|
|
id: composer-cache |
|
|
|
run: echo "::set-output name=dir::$(composer config cache-files-dir)" |
|
|
|
|
|
|
|
- name: Cache dependencies |
|
|
|
if: ${{ !env.ACT }} |
|
|
|
uses: actions/cache@v4 |
|
|
|
with: |
|
|
|
path: ${{ steps.composer-cache.outputs.dir }} |
|
|
|
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} |
|
|
|
restore-keys: ${{ runner.os }}-composer- |
|
|
|
|
|
|
|
- name: run install.sh |
|
|
|
run: /bin/bash install.sh |
|
|
|
|
|
|
|
@ -58,6 +71,19 @@ jobs: |
|
|
|
tools: composer |
|
|
|
extensions: sqlite3, gd |
|
|
|
|
|
|
|
- name: Get composer cache directory |
|
|
|
if: ${{ !env.ACT }} |
|
|
|
id: composer-cache |
|
|
|
run: echo "::set-output name=dir::$(composer config cache-files-dir)" |
|
|
|
|
|
|
|
- name: Cache dependencies |
|
|
|
if: ${{ !env.ACT }} |
|
|
|
uses: actions/cache@v4 |
|
|
|
with: |
|
|
|
path: ${{ steps.composer-cache.outputs.dir }} |
|
|
|
key: ${{ matrix.php-versions}}-${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} |
|
|
|
restore-keys: ${{ runner.os }}-composer- |
|
|
|
|
|
|
|
- name: run install.sh |
|
|
|
run: /bin/bash install.sh |
|
|
|
|
|
|
|
|