GitHub Action to generate Alpine releases matrix
name: Test
on:
push:
branches:
- main
jobs:
generate:
runs-on: ubuntu-latest
steps:
- id: alpine
uses: actions-matrix/alpine-matrix-action@v1
outputs:
matrix: ${{ steps.alpine.outputs.matrix }}
build:
runs-on: ubuntu-latest
needs: generate
strategy:
matrix: ${{ fromJson(needs.generate.outputs.matrix) }}
steps:
- run: echo "Build ${{ matrix.os }} ${{ matrix.version }}"
Example
Licensed under MIT license.