diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ae8e2be..7eee39d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,7 +35,7 @@ jobs: - name: Obtain aws-cdk versions id: set-matrix run: | - VERSIONS_ARRAY=$(npm show aws-cdk time --json | jq 'del(.created, .modified) | keys' -c) + VERSIONS_ARRAY=$(npm view aws-cdk versions --json | jq -c '.[-256:]' ) MATRIX="{\"cdk-version\":$VERSIONS_ARRAY}" echo "MATRIX=$MATRIX" >> $GITHUB_OUTPUT