Skip to content

Commit

Permalink
switch to matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
godber committed Aug 4, 2023
1 parent ea46068 commit 3f41510
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ on:
pull_request:
branches: [ main ]
env:
NODE_VERSIONS: ${{ vars.NODE_VERSIONS }}
MATRIX: ${{ vars.MATRIX }}

jobs:
setup:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- run: |
echo "NODE VERSIONS: $NODE_VERSIONS"
- id: set-matrix
run: echo "::set-output name=matrix::{\"node-version\":[\"14\",\"20\"]}"
- run: echo $MATRIX
- run: |
echo "MATRIX: $MATRIX" >> $GITHUB_OUTPUT
outputs:
matrix: ${{ toJson(steps.*.outputs.matrix) }}


build:
needs:
Expand Down

0 comments on commit 3f41510

Please sign in to comment.