From f9aa121ea07abe048097e2affe123ef38d7067fd Mon Sep 17 00:00:00 2001 From: shiva kumar Date: Wed, 11 Sep 2024 21:34:10 +0530 Subject: [PATCH] Pre-compiled image e2e test Signed-off-by: shiva kumar --- .github/workflows/precompiled.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/precompiled.yaml b/.github/workflows/precompiled.yaml index 77451499..c8a6ad58 100644 --- a/.github/workflows/precompiled.yaml +++ b/.github/workflows/precompiled.yaml @@ -252,8 +252,9 @@ jobs: driver_branch=$(echo "$driver_branch_json" | jq -r '.[]') for DRIVER_BRANCH in $driver_branch; do echo "Downloading driver-images-${DRIVER_BRANCH}-${KERNEL_VERSION}-${DIST}" + image="driver-images-${DRIVER_BRANCH}-${KERNEL_VERSION}-${DIST}" gh api --method GET "/repos/${{ github.repository }}/actions/artifacts" \ - jq ".artifacts[] | select(.name == \"$driver-images-${DRIVER_BRANCH}-${KERNEL_VERSION}-${DIST}\") | .archive_download_url" | \ + jq ".artifacts[] | select(.name == \"$image\") | .archive_download_url" | \ xargs curl -o ./artifacts/$image.tar -L done exit 1