Skip to content

Commit

Permalink
use output
Browse files Browse the repository at this point in the history
  • Loading branch information
pinzon committed Dec 5, 2024
1 parent 31321da commit d954669
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +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 'sort_by( [ split(".") | .[] | tonumber ] ) | .[-10:]' -c)
VERSIONS_ARRAY=$(npm show aws-cdk time --json | jq 'del(.created, .modified) | keys' -c)
MATRIX="{\"cdk-version\":$VERSIONS_ARRAY}"
echo "MATRIX=$MATRIX" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit d954669

Please sign in to comment.