You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
release-matrix-action
v1.0.3
GitHub Action to generate matrix using endoflife-date/release-data dataset.
You can now consume the action by referencing the v1
branch
name: Build
on:
push:
branches:
- main
jobs:
generate:
runs-on: ubuntu-latest
steps:
- id: release
uses: actions-matrix/release-matrix-action@v1
with:
search: "nginx"
outputs:
matrix: ${{ steps.release.outputs.matrix }}
build:
runs-on: ubuntu-latest
needs: generate
strategy:
matrix: ${{ fromJson(needs.generate.outputs.matrix) }}
steps:
- run: echo "Build ${{ matrix.version }}"
Example
search
: The search keyword for release datadate
: Set the filter for the release by date, e.g: 2023-01-01, 2023version
: Set the filter for the release by version, e.g: 1.0limit
: Set the limit for the number of releases to output, default: 3
matrix
: The matrix of releases
Example
{"version":["1.23.3","1.23.4","1.24.0","1.25.0","1.25.1"]}
Licensed under the MIT License.