Files
github-actions-magento2/supported-version/action.yml
T
Damien Retzinger 664360ede2 feat(supported-version): add user-defined kind (#28)
`kind` is a new input property for the `supported-version` action which
allows one to define what specific versions of Magento they support.

Currently, `kind` supports `latest`, `currently-supported`, and `custom`. See the
README for `supported-version` if you want more specifics
2022-08-05 17:36:38 -04:00

27 lines
787 B
YAML

name: "Compute Supported Magento 2 Versions"
author: "Graycore"
description: "A Github Action that computes the Github Actions matrix for the chosen versions of Magento 2"
inputs:
kind:
required: false
description: "The kind of versions you want to return. Allowed values are `currently-supported, latest, custom`"
default: "currently-supported"
custom_versions:
required: false
description: "The specific custom versions of Magento that you want to use. Only applies when `kind` is `custom`"
default: ""
outputs:
matrix:
description: "The Github Actions matrix of software technologies required to run Magento."
value: ${{ steps.generate.outputs.matrix }}
runs:
using: "node16"
main: dist/index.js
branding:
icon: "code"
color: "green"