fixup! Add download-jax-rocm-wheels composite action
Use gh release list with JSON output to get latest release.
Query the 10 most recent releases (including pre-releases) from
ROCm/jax-plugin, sort by publishedAt timestamp, and select the
most recent one. This approach:
- Uses structured JSON output for reliability
- Sorts by actual publish date (not just list order)
- Works with all gh CLI versions that support --json flag
- More robust than parsing text output
Command:
gh release list -R ROCm/jax-plugin --limit 10 --json tagName,publishedAt \
--jq 'sort_by(.publishedAt) | reverse | .[0].tagName'