Skip to content

Commit

Permalink
Merge pull request #29 from creative-commoners/pulls/1/docphp
Browse files Browse the repository at this point in the history
DOC Document CMS major version detection
  • Loading branch information
GuySartorelli authored Nov 30, 2023
2 parents 9ca65c4 + 7ff2f45 commit 05a6060
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ steps:
```
This action has no inputs
## CMS major version detection
This action will identify the CMS major version which is determined by parsing the contents on the modules `composer.json` using logic in the `funcs.php` file. In cases where the major version remains indeterminable, the action will fail. This is most likely if the module is not intended as an addon for a website.

To work around this, specify an arbitrary CMS major version by setting the required PHP version in `composer.json` to `^8.1` or any other minimum PHP version that aligns with a CMS major version.

0 comments on commit 05a6060

Please sign in to comment.