File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 24
24
matrix :
25
25
operating-system : ['ubuntu-latest', 'macos-latest']
26
26
# Run on current stable and next RC if available
27
- php-versions : ['8.4', '8.5']
27
+ pre-release : [false]
28
+ stable : [false]
29
+ include :
30
+ - php-versions : 8.5
31
+ pre-release : true
32
+ - php-versions : 8.4
33
+ stable : true
28
34
steps :
29
35
- name : Force linux line endings
30
36
run : |
@@ -60,11 +66,11 @@ jobs:
60
66
61
67
- name : Install dependencies
62
68
run : composer install --prefer-dist --dev
63
- if : matrix.php-versions != 8.5
69
+ if : matrix.pre-release == false
64
70
65
71
- name : Update dependencies (PHP 8.5 RC)
66
72
run : composer update --dev
67
- if : matrix.php-versions == 8.5
73
+ if : matrix.pre-release == true
68
74
69
75
- name : Build Vite manifest
70
76
run : |
79
85
80
86
- name : Upload coverage to Codecov
81
87
# We only care about PHP 8.4 (latest stable) for our code coverage report
82
- if : matrix.php-versions == 8.4
88
+ if : matrix.stable == true
83
89
uses : codecov/codecov-action@v5
84
90
with :
85
91
token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments