Skip to content
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
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@

---

> [!TIP]
> **Hire Tang Rufus!**
>
> I am looking for my next role, freelance or full-time.
> If you find this tool useful, I can build you more dev tools like this.
> Let's talk if you are hiring PHP / Ruby / Go developers.
>
> Contact me at https://typist.tech/contact/

---

## Usage

See [action.yml](action.yml) and the underlying script [`typisttech/php-matrix`](https://github.com/typisttech/php-matrix/#options).
Expand Down Expand Up @@ -86,6 +97,16 @@ See [action.yml](action.yml) and the underlying script [`typisttech/php-matrix`]
| `lowest` | Lowest supported PHP versions | In `minor-only` mode, `7.3`<br><br>In `full` mode, `7.3.0` |
| `highest` | Highest supported PHP versions | In `minor-only` mode, `8.4`<br><br>In `full` mode, `8.4.2` |

> [!TIP]
> **Hire Tang Rufus!**
>
> There is no need to understand any of these quirks.
> Let me handle them for you.
> I am seeking my next job, freelance or full-time.
>
> If you are hiring PHP / Ruby / Go developers,
> contact me at https://typist.tech/contact/

## Examples

<details open>
Expand Down
27 changes: 22 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ runs:
env:
GH_TOKEN: ${{ inputs.github-token }}

- name: Unarchive the binary
- name: Unarchive the Binary
run: |
mkdir bin
tar -xvf php-matrix.tar.gz -C ./bin php-matrix
Expand All @@ -110,10 +110,6 @@ runs:
env:
ACTION_PATH: ${{ github.action_path }}

- name: Print PHP Matrix Version
run: php-matrix --version
shell: bash

- name: Generate Matrix
id: generate-matrix
run: |
Expand All @@ -139,3 +135,24 @@ runs:
INPUT_COMPOSER_JSON: ${{ inputs.composer-json }}
INPUT_MODE: ${{ inputs.mode }}
INPUT_SOURCE: ${{ inputs.source }}

- name: Print Info
if: ${{ !cancelled() }}
run: |
echo "==> Setup PHP Matrix"
echo -e "\033[32;m✓\033[0m \033[34;mphp-matrix\033[0m https://github.com/typisttech/php-matrix"
echo "::group::$ php-matrix --version"
php-matrix --version
echo "::endgroup::"

echo ""
echo "==> Sponsor php-matrix-action"
echo -e "\033[32;m✓\033[0m \033[34;mphp-matrix-action\033[0m https://github.com/sponsors/tangrufus"

echo ""
echo "==> Hire Tang Rufus"
echo "I am looking for my next role, freelance or full-time."
echo "If you find this tool useful, I can build you more dev tools like this."
echo "Let's talk if you are hiring PHP / Ruby / Go developers."
echo -e "\033[32;m✓\033[0m \033[34;mTang Rufus\033[0m https://typist.tech/contact"
shell: bash
Loading