File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 89
89
php-version : 8.1
90
90
tools : flex
91
91
92
+ - name : Get composer cache directory
93
+ id : composer-cache
94
+ run : |
95
+ echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
96
+
97
+ - name : Cache packages dependencies
98
+ uses : actions/cache@v4
99
+ with :
100
+ path : ${{ steps.composer-cache.outputs.dir }}
101
+ key : ${{ runner.os }}-composer-packages-${{ matrix.php-version }}-${{ matrix.dependency-version }}-${{ matrix.symfony-version }}-${{ matrix.minimum-stability }}-${{ hashFiles('src/**/composer.json') }}
102
+ restore-keys : |
103
+ ${{ runner.os }}-composer-packages-${{ matrix.php-version }}-${{ matrix.dependency-version }}-${{ matrix.symfony-version }}-${{ matrix.minimum-stability }}
104
+
92
105
- name : Install root dependencies
93
106
uses : ramsey/composer-install@v3
94
107
with :
Original file line number Diff line number Diff line change 68
68
php-version : ${{ matrix.php-version }}
69
69
tools : flex
70
70
71
+ - name : Get composer cache directory
72
+ id : composer-cache
73
+ run : |
74
+ echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
75
+
76
+ - name : Cache packages dependencies
77
+ uses : actions/cache@v4
78
+ with :
79
+ path : ${{ steps.composer-cache.outputs.dir }}
80
+ key : ${{ runner.os }}-composer-packages-${{ matrix.php-version }}-${{ matrix.dependency-version }}-${{ matrix.symfony-version }}-${{ matrix.minimum-stability }}-${{ hashFiles('src/**/composer.json') }}
81
+ restore-keys : |
82
+ ${{ runner.os }}-composer-packages-${{ matrix.php-version }}-${{ matrix.dependency-version }}-${{ matrix.symfony-version }}-${{ matrix.minimum-stability }}
83
+
71
84
- name : Install root dependencies
72
85
uses : ramsey/composer-install@v3
73
86
with :
You can’t perform that action at this time.
0 commit comments