mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fixes for github cache
This commit is contained in:
parent
b8e966ac1c
commit
e3ea9ab14b
26
.github/workflows/phpunit.yml
vendored
26
.github/workflows/phpunit.yml
vendored
@ -91,22 +91,18 @@ jobs:
|
||||
run: |
|
||||
cp .env.ci .env
|
||||
|
||||
- name: Get Composer Cache Directory
|
||||
id: composer-cache
|
||||
run: |
|
||||
echo "::set-output name=dir::$(composer config cache-files-dir)"
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ steps.composer-cache.outputs.dir }}
|
||||
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-${{ matrix.php }}-composer-
|
||||
|
||||
# - name: Cache dependencies actions/cache@v3
|
||||
# uses: actions/cache@v3
|
||||
# - name: Get Composer Cache Directory
|
||||
# id: composer-cache
|
||||
# run: |
|
||||
# echo "::set-output name=dir::$(composer config cache-files-dir)"
|
||||
# - uses: actions/cache@v2
|
||||
# with:
|
||||
# path: ~/.composer/cache/files
|
||||
# key: dependencies-${{ matrix.dependency-version }}-laravel-${{ matrix.laravel }}-php-${{ matrix.php-versions }}-composer-${{ hashFiles('composer.json') }}
|
||||
# path: ${{ steps.composer-cache.outputs.dir }}
|
||||
# key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }}
|
||||
# restore-keys: |
|
||||
# ${{ runner.os }}-${{ matrix.php }}-composer-
|
||||
|
||||
|
||||
|
||||
- name: Install composer dependencies
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user