Skip to content

Commit 341d54c

Browse files
committed
[skip ci] Fix branch check in nightly for PHP-8.3
1 parent ee6f9e2 commit 341d54c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/nightly.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
zts: [true, false]
6161
include: ${{ fromJson(needs.GENERATE_MATRIX.outputs.matrix-include) }}
6262
name: "${{ matrix.branch.name }}_LINUX_X64${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
63-
runs-on: ubuntu-${{ (matrix.branch.ref == 'master' && !matrix.asan) && '22.04' || '20.04' }}
63+
runs-on: ubuntu-${{ ((matrix.branch.ref == 'PHP-8.3' || matrix.branch.ref == 'master') && !matrix.asan) && '22.04' || '20.04' }}
6464
steps:
6565
- name: git checkout
6666
uses: actions/checkout@v3
@@ -148,7 +148,7 @@ jobs:
148148
name: "${{ matrix.branch.name }}_LINUX_X32_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
149149
runs-on: ubuntu-latest
150150
container:
151-
image: ubuntu:${{ matrix.branch.ref == 'master' && '22.04' || '20.04' }}
151+
image: ubuntu:${{ (matrix.branch.ref == 'PHP-8.3' || matrix.branch.ref == 'master') && '22.04' || '20.04' }}
152152
env:
153153
MYSQL_TEST_HOST: mysql
154154
PDO_MYSQL_TEST_DSN: mysql:host=mysql;dbname=test
@@ -340,7 +340,7 @@ jobs:
340340
matrix:
341341
branch: ${{ fromJson(needs.GENERATE_MATRIX.outputs.branches) }}
342342
name: "${{ matrix.branch.name }}_COMMUNITY"
343-
runs-on: ubuntu-${{ matrix.branch.ref == 'master' && '22.04' || '20.04' }}
343+
runs-on: ubuntu-${{ (matrix.branch.ref == 'PHP-8.3' || matrix.branch.ref == 'master') && '22.04' || '20.04' }}
344344
env:
345345
UBSAN_OPTIONS: print_stacktrace=1
346346
USE_ZEND_ALLOC: 0
@@ -517,7 +517,7 @@ jobs:
517517
matrix:
518518
branch: ${{ fromJson(needs.GENERATE_MATRIX.outputs.branches) }}
519519
name: "${{ matrix.branch.name }}_OPCACHE_VARIATION"
520-
runs-on: ubuntu-${{ matrix.branch.ref == 'master' && '22.04' || '20.04' }}
520+
runs-on: ubuntu-${{ (matrix.branch.ref == 'PHP-8.3' || matrix.branch.ref == 'master') && '22.04' || '20.04' }}
521521
steps:
522522
- name: git checkout
523523
uses: actions/checkout@v3
@@ -593,7 +593,7 @@ jobs:
593593
matrix:
594594
branch: ${{ fromJson(needs.GENERATE_MATRIX.outputs.branches) }}
595595
name: "${{ matrix.branch.name }}_MSAN"
596-
runs-on: ubuntu-${{ matrix.branch.ref == 'master' && '22.04' || '20.04' }}
596+
runs-on: ubuntu-${{ (matrix.branch.ref == 'PHP-8.3' || matrix.branch.ref == 'master') && '22.04' || '20.04' }}
597597
steps:
598598
- name: git checkout
599599
uses: actions/checkout@v3
@@ -693,7 +693,7 @@ jobs:
693693
exclude:
694694
- branch: { name: 'PHP-80', ref: 'PHP-8.0' }
695695
name: "${{ matrix.branch.name }}_LIBMYSQLCLIENT"
696-
runs-on: ubuntu-${{ matrix.branch.ref == 'master' && '22.04' || '20.04' }}
696+
runs-on: ubuntu-${{ (matrix.branch.ref == 'PHP-8.3' || matrix.branch.ref == 'master') && '22.04' || '20.04' }}
697697
steps:
698698
- name: git checkout
699699
uses: actions/checkout@v3

0 commit comments

Comments
 (0)