Skip to content

Commit

Permalink
Pre-compiled image e2e test
Browse files Browse the repository at this point in the history
Signed-off-by: shiva kumar <[email protected]>
  • Loading branch information
shivakunv committed Sep 11, 2024
1 parent 993b95c commit f9aa121
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/precompiled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9aa121

Please sign in to comment.