Skip to content

Commit 9b32af1

Browse files
committed
Add support to specify arch and ts in workflow dispatch
1 parent b863c4b commit 9b32af1

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/extension.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ on:
1212
php-version-list:
1313
description: 'PHP versions to build'
1414
required: false
15+
arch-list:
16+
description: 'Architectures to build'
17+
required: false
18+
default: 'x64, x86'
19+
ts-list:
20+
description: 'Thread safety to build'
21+
required: false
22+
default: 'nts, ts'
1523
args:
1624
description: 'Configure arguments'
1725
required: false
@@ -52,8 +60,8 @@ jobs:
5260
extension-url: ${{ inputs.extension-url }}
5361
extension-ref: ${{ inputs.extension-ref }}
5462
php-version-list: ${{ inputs.php-version-list }}
55-
arch-list: 'x64, x86'
56-
ts-list: 'nts, ts'
63+
arch-list: ${{ inputs.arch-list }}
64+
ts-list: ${{ inputs.ts-list }}
5765

5866
extension:
5967
needs: get-extension-matrix

0 commit comments

Comments
 (0)