Skip to content

Commit

Permalink
refine setup matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
SajidAlamQB committed Aug 11, 2023
1 parent b39622e commit ae2e25f
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/check-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,12 @@ jobs:
- id: set-matrix
run: |
if [[ "${{ inputs.plugin }}" == "kedro-datasets" ]]; then
echo '["3.7", "3.8", "3.9", "3.10", "3.11"]' > python_versions.json
MATRIX='["3.7", "3.8", "3.9", "3.10", "3.11"]'
else
echo '["3.7", "3.8", "3.9", "3.10"]' > python_versions.json
MATRIX='["3.7", "3.8", "3.9", "3.10"]'
fi
echo "PYTHON_VERSIONS=$(cat python_versions.json)" >> $GITHUB_ENV
- name: Output matrix for next job
id: output-matrix
run: echo "::set-output name=matrix::$(cat python_versions.json)"
echo "MATRIX=${MATRIX}" >> $GITHUB_ENV
echo "::set-output name=matrix::${MATRIX}"
lint:
defaults:
Expand Down

0 comments on commit ae2e25f

Please sign in to comment.