Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.09 KB

File metadata and controls

43 lines (35 loc) · 1.09 KB

Magento 2 Supported Versions

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

All data comes from:

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: actions/checkout@v2
      - uses: graycoreio/github-actions-magento2/supported-version@main
        id: supported-version
      - run: echo ${{ steps.supported-version.outputs.matrix }}

  install-test:
    needs: compute_matrix
    strategy:
      matrix: ${{ fromJSON(needs.compute_matrix.outputs.matrix) }}
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - run: echo ${{ matrix.magento }} ${{ matrix.os }} ${{ matrix.php }}
      shell: bash