File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 64
64
php-version : ' 8.2'
65
65
tools : flex
66
66
67
+ - name : Get composer cache directory
68
+ id : composer-cache
69
+ run : |
70
+ echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
71
+
72
+ - name : Cache packages dependencies
73
+ uses : actions/cache@v4
74
+ with :
75
+ path : ${{ steps.composer-cache.outputs.dir }}
76
+ key : ${{ runner.os }}-composer-packages-${{ matrix.php-version }}-${{ matrix.dependency-version }}-${{ matrix.symfony-version }}-${{ matrix.minimum-stability }}-${{ hashFiles('src/**/composer.json') }}
77
+ restore-keys : |
78
+ ${{ runner.os }}-composer-packages-${{ matrix.php-version }}-${{ matrix.dependency-version }}-${{ matrix.symfony-version }}-${{ matrix.minimum-stability }}
79
+
67
80
- name : Install root dependencies
68
- run : composer install
81
+ uses : ramsey/ composer- install@v3
69
82
70
83
- name : Build root packages
71
84
run : php .github/build-packages.php
Original file line number Diff line number Diff line change 62
62
tools : flex
63
63
extensions : " ${{ env.REQUIRED_PHP_EXTENSIONS }}"
64
64
65
+ - name : Get composer cache directory
66
+ id : composer-cache
67
+ run : |
68
+ echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
69
+
70
+ - name : Cache packages dependencies
71
+ uses : actions/cache@v4
72
+ with :
73
+ path : ${{ steps.composer-cache.outputs.dir }}
74
+ key : ${{ runner.os }}-composer-packages-${{ matrix.php-version }}-${{ matrix.dependency-version }}-${{ matrix.symfony-version }}-${{ matrix.minimum-stability }}-${{ hashFiles('src/**/composer.json') }}
75
+ restore-keys : |
76
+ ${{ runner.os }}-composer-packages-${{ matrix.php-version }}-${{ matrix.dependency-version }}-${{ matrix.symfony-version }}-${{ matrix.minimum-stability }}
77
+
65
78
- name : Install root dependencies
66
- run : composer install
79
+ uses : ramsey/ composer- install@v3
67
80
68
81
- name : Build root packages
69
82
run : php .github/build-packages.php
You can’t perform that action at this time.
0 commit comments