Skip to content

Commit

Permalink
ci: externalize matrix generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jabberwoc committed Feb 1, 2024
1 parent 19e4524 commit 4c1575c
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/phpunit-sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,10 @@ env:

jobs:
generate-matrix:
runs-on: ubuntu-latest
outputs:
versions: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Checkout to repository
uses: actions/checkout@v3
- name: Set matrix data
id: set-matrix
run: echo "matrix=$(jq -c . < ./versions.json)" >> $GITHUB_OUTPUT
uses: diz-unimr/.github/workflows/generate-matrix.yml@main
with:
matrix-file: versions.yml


phpunit-sqlite:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4c1575c

Please sign in to comment.