feat: add supported version matrix action (#6)

This commit is contained in:
Damien Retzinger
2022-06-25 23:55:09 -04:00
committed by GitHub
parent 984dda3efa
commit 6e81ef96c7
5 changed files with 153 additions and 41 deletions
+21
View File
@@ -0,0 +1,21 @@
name: "Compute Supported Magento 2 Versions"
author: "Graycore"
description: "A Github Action that computes the Github Actions matrix for the currently supported versions of Magento 2"
outputs:
matrix:
description: "The Github Actions matrix of software technologies required to run Magento."
value: ${{ steps.generate.outputs.matrix }}
runs:
using: 'composite'
steps:
- run: |
content=`cat supported-version/supported.json | jq -c`
echo "::set-output name=matrix::$content"
shell: bash
id: generate
branding:
icon: "code"
color: "green"