Skip to content

Commit 9d80c81

Browse files
committed
Add upcoming releases input
1 parent 76c3335 commit 9d80c81

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/continuous-integration.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@ on: # yamllint disable-line rule:truthy
44
workflow_call:
55
inputs:
66
php-versions:
7-
description: "The PHP versions to use when running the job"
7+
description: "The PHP versions to use when running the job, omitt to auto-detect"
88
default: "auto-detect"
99
required: false
1010
type: "string"
11+
upcoming-releases:
12+
description: "Whether to include upcoming releases in the auto-detection"
13+
default: true
14+
required: false
15+
type: "boolean"
1116
php-extensions:
1217
description: "The php extensions to install, allowing composer to pass"
1318
default: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo"
@@ -42,6 +47,8 @@ jobs:
4247
- id: "supported-versions-detect"
4348
if: "${{ inputs.php-versions == 'auto-detect' }}"
4449
uses: "WyriHaximus/github-action-composer-php-versions-in-range@v1"
50+
with:
51+
upcomingReleases: "${{ inputs.upcoming-releases }}"
4552

4653
- name: "Set PHP versions"
4754
env:

0 commit comments

Comments
 (0)