Skip to content

Commit

Permalink
add version matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
yordis committed Jun 28, 2024
1 parent 37b6f49 commit f8ed278
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,26 @@ on:
branches:
- master
jobs:
VersionMatrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Set
id: set-matrix
run: |
echo 'matrix={"elixir":[{"version":"1.10.4","otp":"23.0"},{"version":"1.11.2","otp":"23.0"}]}' >> $GITHUB_OUTPUT
TestingMatrix:
runs-on: ubuntu-latest
needs: VersionMatrix
strategy:
matrix: ${{fromJson(needs.VersionMatrix.outputs.matrix)}}
name: Elixir ${{ matrix.version }} with OTP ${{ matrix.otp }}
steps:
- name: echo
run: echo ${{ matrix.otp }} ${{ matrix.version }}

Test:
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit f8ed278

Please sign in to comment.