From d226916330b10f03af4a1a9cb249e61753fd5f68 Mon Sep 17 00:00:00 2001 From: Cristopher Pinzon Date: Wed, 4 Dec 2024 21:39:57 -0500 Subject: [PATCH] use output --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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