Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/ort-compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ jobs:

- name: Install ORT
run: |
ORT_URL=$(curl -s https://api.github.com/repos/oss-review-toolkit/ort/releases/latest \
# Pin ORT (was floating releases/latest). ORT 89.0.0+ requires Java 25 to launch,
# and even on JDK 25 its bundled Gradle Inspector (Gradle 8.13) can't parse Java 25
# bytecode ("Unsupported class file major version 69") — so chasing the JDK baseline
# just moves the break. 88.0.0 is the last release that runs cleanly on JDK 21 (the
# combo that was green on main). Revisit when ORT's Gradle Inspector supports Java 25.
ORT_VERSION="88.0.0"
ORT_URL=$(curl -s "https://api.github.com/repos/oss-review-toolkit/ort/releases/tags/${ORT_VERSION}" \
| jq -r '.assets[] | select(.name | test("^ort-.*\\.tgz$")) | .browser_download_url')
curl -L -o ort.tgz "$ORT_URL"
tar -xzf ort.tgz
Expand Down
Loading