mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
7431dcb7af
This also allows using the action in https://github.com/mage-os/generate-mirror-repo-js where the test module is an external package installed with composer. In this case, no local path repo configuration is needed. Co-authored-by: Vinai Kopp <Vinai@users.noreply.github.com>
27 lines
812 B
YAML
27 lines
812 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`, `nightly` and `all`"
|
|
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"
|