Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move 8.4 to version list #32

Merged
merged 5 commits into from
Dec 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,27 @@ jobs:
requiredDevExtensions: "pcov,xdebug"
os: ubuntu-latest
- workingDirectory: "situations/ext-parallel-composer.lock/"
highestUpcoming: "8.3"
highestUpcoming: "8.4"
nightly: "8.4"
highest: "8.3"
highest: "8.4"
lowest: "8.2"
extensions: "parallel,pcov,xdebug"
requiredExtensions: "parallel"
requiredDevExtensions: "pcov,xdebug"
os: ubuntu-latest
- workingDirectory: "situations/wyrihaximus-test-utilities-composer.lock/"
highestUpcoming: "8.3"
highestUpcoming: "8.4"
nightly: "8.4"
highest: "8.3"
highest: "8.4"
lowest: "8.2"
extensions: "bcmath,ctype,dom,filter,intl,json,libxml,mbstring,openssl,pcov,pcre,phar,reflection,simplexml,sodium,spl,tokenizer,xdebug,xml,xmlwriter"
requiredExtensions: "bcmath,ctype,dom,filter,intl,json,libxml,mbstring,openssl,pcre,phar,reflection,simplexml,sodium,spl,tokenizer,xml,xmlwriter"
requiredDevExtensions: "pcov,xdebug"
os: ubuntu-latest
- workingDirectory: "situations/wyrihaximus-react-phpunit-run-tests-in-fiber-composer.lock/"
highestUpcoming: "8.3"
highestUpcoming: "8.4"
nightly: "8.4"
highest: "8.3"
highest: "8.4"
lowest: "8.2"
extensions: "bcmath,ctype,dom,filter,intl,json,libxml,mbstring,openssl,pcre,phar,reflection,simplexml,sodium,spl,tokenizer,xml,xmlwriter"
requiredExtensions: ""
Expand All @@ -63,11 +63,11 @@ jobs:
workingDirectory:
- ""
highestUpcoming:
- "8.3"
- "8.4"
nightly:
- "8.4"
highest:
- "8.3"
- "8.4"
lowest:
- "7.3"
extensions:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ The action comes with 7 outputs, most importantly `version` which contains a JSO
follow up steps:

```json
["7.3","7.4","8.0","8.1","8.2","8.3"]
["7.3","7.4","8.0","8.1","8.2","8.3","8.4"]
```

And the `highest` and `lowest` outputs that provide the highest PHP version (`8.3` in the `version` output example)
And the `highest` and `lowest` outputs that provide the highest PHP version (`8.4` in the `version` output example)
and the lowest PHP version (`7.3` in the `version` output example) from the `version` list. The 4rth output is
`upcoming` and will be populated with the upcoming but in alpha/beta/rc next minor or major version of PHP. The
`nightly` contains the currently in development byt not alpha/beta/rc tag next major or minor version.
`nightly` contains the current in development but not alpha/beta/rc tag next major or minor version.

On top of that this action will also give you 3 lists of extensions. The extensions from `require` in
`requiredExtensions`, dev extensions in `requiredDevExtensions`, and a combined list in `extensions`.
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ let nightlyVersion = '';
'8.1',
'8.2',
'8.3',
'8.4',
].forEach(function (version) {
if (semver.satisfies(version + '.0', supportedVersionsRange)) {
versions.push(version);
Expand All @@ -55,7 +56,6 @@ if (process.env.INPUT_UPCOMINGRELEASES === 'true') {

if (process.env.INPUT_NIGHTLY === 'true') {
[
'8.4',
].forEach(function (version) {
if (semver.satisfies(version + '.0', supportedVersionsRange)) {
versions.push(version);
Expand Down
Loading