Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pinzon committed Dec 16, 2024
1 parent bf62cc4 commit 373eb28
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,15 @@ jobs:
if: ${{ inputs.run-all-latest-cdk-versions == true }}
run: |
export VERSIONS_ARRAY=$(npm view aws-cdk versions --json | jq -c '.[-256:]' )
echo "VERSIONS_ARRAY=$VERSIONS_ARRAY" >> $GITHUB_ENV
- name: Obtain default list of aws-cdk versions
id: simple-matrix
if: ${{ inputs.run-all-latest-cdk-versions == false }}
run: |
export VERSIONS_ARRAY='["1.10.0", "1.38.0", "1.95.1", "1.150.0", "2.30.0", "2.50.0", "2.75.0", "2.120.0", "2.166.0", "2.167.0", "latest"]'
echo "VERSIONS_ARRAY=$VERSIONS_ARRAY" >> $GITHUB_ENV
- name: Generate matrix
id: set-matrix
Expand All @@ -59,7 +62,7 @@ jobs:
runs-on: ubuntu-latest
needs: generate-cdk-version-matrix
strategy:
matrix: ${{fromJson(needs.generate-cdk-version-matrix.outputs.matrix || '{}')}}
matrix: ${{fromJson(needs.generate-cdk-version-matrix.outputs.matrix)}}

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 373eb28

Please sign in to comment.