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