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 bac1eac commit a649b45
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/precompiled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,11 @@ jobs:
for DRIVER_BRANCH in $driver_branch; do
image="driver-images-${DRIVER_BRANCH}-${KERNEL_VERSION}-${DIST}"
echo "Downloading $image"
gh api --method GET "/repos/${{ github.repository }}/actions/artifacts" | \
gh api --method GET "/repos/${{ github.repository }}/actions/artifacts" \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" | \
jq ".artifacts[] | select(.name == \"$image\") | .archive_download_url" | \
xargs curl -o ./artifacts/$image.tar -L
xargs curl -o ./artifacts/$image.tar.gz -L
done
exit 1
Expand Down

0 comments on commit a649b45

Please sign in to comment.