Skip to content

Commit ed0cee3

Browse files
committed
use output
1 parent 76f0db8 commit ed0cee3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/test.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ jobs:
3535
- name: Obtain aws-cdk versions
3636
id: set-matrix
3737
run: |
38-
#VERSIONS_ARRAY=$(npm show aws-cdk time --json | jq 'del(.created, .modified) | keys' -c)
39-
VERSIONS_ARRAY=$(npm view aws-cdk versions --json | jq 'sort_by( [ split(".") | .[] | tonumber ] ) | .[-10:]' -c)
38+
VERSIONS_ARRAY=$(npm show aws-cdk time --json | jq 'del(.created, .modified) | keys' -c)
4039
MATRIX="{\"cdk-version\":$VERSIONS_ARRAY}"
4140
echo "MATRIX=$MATRIX" >> $GITHUB_OUTPUT
4241

0 commit comments

Comments
 (0)