Files
github-actions-magento2/supported-version/action.yml
T
2025-12-14 11:13:42 -05:00

37 lines
1.4 KiB
YAML

name: "Compute Supported Mage-OS and Magento 2 Versions"
author: "Mage-OS"
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`, `nightly`, `recent` and `all`"
default: "currently-supported"
project:
required: false
description: "The project to return the supported versions for. Allowed values are `mage-os` and `magento-open-source`"
# The default value is what it is to keep backward compatibility
default: "magento-open-source"
custom_versions:
required: false
description: "The specific custom versions of Magento that you want to use. Only applies when `kind` is `custom`"
default: ""
recent_time_frame:
required: false
default: "2y"
description: "The time frame (from today). Only used in `recent` kind. String that defines a time duration using a combination of years (y), months (m), and days (d). Each unit is optional and can appear in any order, separated by spaces. For example `2y 2m 2d`. "
outputs:
matrix:
description: "The Github Actions matrix of software technologies required to run Magento."
value: ${{ steps.generate.outputs.matrix }}
runs:
using: "node24"
main: dist/index.js
branding:
icon: "code"
color: "green"