File tree 4 files changed +48
-0
lines changed
4 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 22
22
with :
23
23
php-version : " ${{ matrix.php }}"
24
24
25
+ - name : Get Composer cache directory
26
+ id : composer-cache
27
+ shell : bash
28
+ run : echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
29
+
30
+ - name : Cache dependencies
31
+ uses : actions/cache@v3
32
+ with :
33
+ path : ${{ steps.composer-cache.outputs.dir }}
34
+ key : dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
35
+ restore-keys : dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
36
+
25
37
- name : Install Composer dependencies
26
38
run : composer install --no-progress --prefer-dist --optimize-autoloader
27
39
Original file line number Diff line number Diff line change 22
22
with :
23
23
php-version : " ${{ matrix.php }}"
24
24
25
+ - name : Get Composer cache directory
26
+ id : composer-cache
27
+ shell : bash
28
+ run : echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
29
+
30
+ - name : Cache dependencies
31
+ uses : actions/cache@v3
32
+ with :
33
+ path : ${{ steps.composer-cache.outputs.dir }}
34
+ key : dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
35
+ restore-keys : dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
36
+
25
37
- name : Install Composer dependencies
26
38
run : composer install --no-progress --prefer-dist --optimize-autoloader
27
39
Original file line number Diff line number Diff line change 21
21
with :
22
22
php-version : " ${{ matrix.php }}"
23
23
24
+ - name : Get Composer cache directory
25
+ id : composer-cache
26
+ shell : bash
27
+ run : echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
28
+
29
+ - name : Cache dependencies
30
+ uses : actions/cache@v3
31
+ with :
32
+ path : ${{ steps.composer-cache.outputs.dir }}
33
+ key : dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
34
+ restore-keys : dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
35
+
24
36
- name : Install Composer dependencies
25
37
run : composer install --no-progress --prefer-dist --optimize-autoloader
26
38
Original file line number Diff line number Diff line change 22
22
with :
23
23
php-version : " ${{ matrix.php }}"
24
24
25
+ - name : Get Composer cache directory
26
+ id : composer-cache
27
+ shell : bash
28
+ run : echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
29
+
30
+ - name : Cache dependencies
31
+ uses : actions/cache@v3
32
+ with :
33
+ path : ${{ steps.composer-cache.outputs.dir }}
34
+ key : dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
35
+ restore-keys : dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
36
+
25
37
- name : Install Composer dependencies
26
38
run : composer install --no-progress --prefer-dist --optimize-autoloader
27
39
You can’t perform that action at this time.
0 commit comments