Files
github-actions-magento2/supported-version
Damien Retzinger 5599a0d2e7 feat(supported-versions): add release date (#100)
Previously, we didn't take into account a release date, which meant
that @vinai could not add MageOS or Magento releases before the actual
day of release.

With this, we can now add the releases to supported verisons before
a release comes out, allowing us to make a kind that allows testing
MageOS and Magento Mirror releases more quickly.
2023-08-16 13:57:48 +02:00
..

Magento 2 Supported Versions

A Github Action that computes the currently supported Github Actions Matrix for Magento 2 Versions

All data comes from:

Inputs

See the action.yml

Input Description Required Default
kind The "kind" of support you're targeting for your package. Allowed values are currently-supported, latest, custom, nightly and all false 'currently-supported'
custom_versions The versions you want to support, as a comma-separated string, i.e. 'magento/project-community-edition:2.3.7-p3, magento/project-community-edition:2.4.2-p2' false ''

Kinds

  • currently-supported - The currently supported Magento Open Source versions by Adobe.
  • latest - The latest version of Magento only.
  • custom - A custom subset of the versions, as specified by you. Requires custom_versions sibling key.
  • nightly - The nightly version of Magento (only available via https://upstream-nightly.mage-os.org)
  • all - All versions of Magento (including patched/unpatched versions).

Usage

name: Use Supported Versions

on:
  push:
    branches:
    - main
  pull_request:
    branches:
    - main

jobs:
  compute_matrix:
    runs-on: ubuntu-latest
    outputs:
      matrix: ${{ steps.supported-version.outputs.matrix }}
    steps:
      - uses: mage-os/github-actions/supported-version@main
        id: supported-version
      - run: echo ${{ steps.supported-version.outputs.matrix }}