Skip to content

Commit 03a48b1

Browse files
committedSep 27, 2022
Fix PHP-8.0 skipping for community steps
github.ref refers to master here, even for other branches.
1 parent 809176d commit 03a48b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.github/workflows/nightly.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ jobs:
233233
echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini
234234
echo opcache.jit_buffer_size=1G >> /etc/php.d/opcache.ini
235235
- name: Test Laravel
236-
if: github.ref != 'refs/heads/PHP-8.0'
236+
if: matrix.branch.ref != 'refs/heads/PHP-8.0'
237237
run: |
238238
git clone https://github.com/laravel/framework.git --branch=master --depth=1
239239
cd framework
@@ -247,7 +247,7 @@ jobs:
247247
exit 1
248248
fi
249249
- name: Test Symfony
250-
if: github.ref != 'refs/heads/PHP-8.0'
250+
if: matrix.branch.ref != 'refs/heads/PHP-8.0'
251251
run: |
252252
git clone https://github.com/symfony/symfony.git --depth=1
253253
cd symfony

0 commit comments

Comments
 (0)
Please sign in to comment.