Skip to content

Commit 0df00f7

Browse files
authored
Update cache.yml
1 parent efd374c commit 0df00f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cache.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
php-versions:
88
description: 'PHP version to cache'
99
default: '8.1 8.2 8.3 8.4'
10-
required: false
10+
required: true
1111
jobs:
1212
get-matrix:
1313
runs-on: ubuntu-latest
@@ -17,7 +17,7 @@ jobs:
1717
- name: Get matrix
1818
id: set-matrix
1919
run: |
20-
IFS=' ' read -r -a PHP_VERSIONS <<<"${{ github.event.inputs.php-versions }}"
20+
IFS=' ' read -r -a PHP_VERSIONS <<<"${{ inputs.php-versions }}"
2121
php_array=()
2222
for php in "${PHP_VERSIONS[@]}"; do
2323
php_array+=("{\"php\": \"$php\"}")

0 commit comments

Comments
 (0)