Skip to content

Commit 9a43c6c

Browse files
authored
Update PHP build target based on conditions
1 parent ad89e69 commit 9a43c6c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build-gcc-packages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ jobs:
202202
203203
- name: Build PHP and packages
204204
run: |
205-
php bin/spp all --target=native-native-gnu --type=rpm --phpv=${{ matrix.php-version }} --iteration="${{ env.ITERATION }}"
205+
TARGET=${{ matrix.alma == 9 && matrix.arch == 'x86_64' && 'native-native-gnu.2.34' || 'native-native-gnu' }}
206+
php bin/spp all --target=$TARGET --type=rpm --phpv=${{ matrix.php-version }} --iteration="${{ env.ITERATION }}"
206207
207208
- name: Prepare rpm signing
208209
run: |

0 commit comments

Comments
 (0)