@@ -39,7 +39,7 @@ the [Setup PHP](https://github.com/shivammathur/setup-php) action as a step.
39
39
- uses : " shivammathur/setup-php@v2"
40
40
with :
41
41
php-version : " latest"
42
- - uses : " ramsey/composer-install@v2 "
42
+ - uses : " ramsey/composer-install@v3 "
43
43
` ` `
44
44
45
45
:bulb: There is no need to set up a separate caching step since ramsey/composer-install
@@ -66,7 +66,7 @@ Valid values are:
66
66
For example :
67
67
68
68
` ` ` yaml
69
- - uses: "ramsey/composer-install@v2 "
69
+ - uses: "ramsey/composer-install@v3 "
70
70
with:
71
71
dependency-versions: "lowest"
72
72
` ` `
@@ -80,7 +80,7 @@ options, you may use the `composer-options` input parameter.
80
80
For example :
81
81
82
82
` ` ` yaml
83
- - uses: "ramsey/composer-install@v2 "
83
+ - uses: "ramsey/composer-install@v3 "
84
84
with:
85
85
composer-options: "--ignore-platform-reqs --optimize-autoloader"
86
86
` ` `
@@ -93,7 +93,7 @@ located in `packages/acme-foo/`, use `working-directory` to tell
93
93
ramsey/composer-install where to run things.
94
94
95
95
` ` ` yaml
96
- - uses: "ramsey/composer-install@v2 "
96
+ - uses: "ramsey/composer-install@v3 "
97
97
with:
98
98
working-directory: "packages/acme-foo"
99
99
` ` `
@@ -105,15 +105,15 @@ For example:
105
105
106
106
` ` ` yaml
107
107
# Install dependencies using composer.json in the root.
108
- - uses: "ramsey/composer-install@v2 "
108
+ - uses: "ramsey/composer-install@v3 "
109
109
110
110
# Install dependencies using composer.json in src/Component/Config/
111
- - uses: "ramsey/composer-install@v2 "
111
+ - uses: "ramsey/composer-install@v3 "
112
112
with:
113
113
working-directory: "src/Component/Config"
114
114
115
115
# Install dependencies using composer.json in src/Component/Validator/
116
- - uses: "ramsey/composer-install@v2 "
116
+ - uses: "ramsey/composer-install@v3 "
117
117
with:
118
118
working-directory: "src/Component/Validator"
119
119
` ` `
@@ -129,7 +129,7 @@ any other value, the action will use the default behavior, which is to read from
129
129
and store to the cache.
130
130
131
131
` ` ` yaml
132
- - uses: "ramsey/composer-install@v2 "
132
+ - uses: "ramsey/composer-install@v3 "
133
133
with:
134
134
ignore-cache: "yes"
135
135
` ` `
@@ -143,7 +143,7 @@ will not use the auto-generated cache key, so if your `composer.json` or
143
143
wish to update the cache.
144
144
145
145
` ` ` yaml
146
- - uses: "ramsey/composer-install@v2 "
146
+ - uses: "ramsey/composer-install@v3 "
147
147
with:
148
148
custom-cache-key: "my-custom-cache-key"
149
149
` ` `
@@ -167,7 +167,7 @@ even more specific, you can specify a suffix to be added to the cache key via th
167
167
# Adds a suffix to the cache key which is equivalent to the full date-time
168
168
# of "last Monday 00:00", which means that the cache will be force refreshed
169
169
# via the first workflow which is run every Monday.
170
- - uses: "ramsey/composer-install@v2 "
170
+ - uses: "ramsey/composer-install@v3 "
171
171
with:
172
172
custom-cache-suffix: $(/bin/date -u --date='last Mon' "+%F")
173
173
` ` `
@@ -214,7 +214,7 @@ steps:
214
214
- uses: "shivammathur/setup-php@v2"
215
215
with:
216
216
php-version: "${{ matrix.php }}"
217
- - uses: "ramsey/composer-install@v2 "
217
+ - uses: "ramsey/composer-install@v3 "
218
218
with:
219
219
dependency-versions: "${{ matrix.dependencies }}"
220
220
composer-options: "${{ matrix.composer-options }}"
0 commit comments