Setup Java JDK
Actively maintainedactions/setup-java · MIT
Set up your GitHub Actions workflow with a specific version of Java
★ 2k starsLast commit 5 days agoLatest v6.0.1
B
74
/ 100
Security signals
OpenSSF Scorecard5.5 / 10
SECURITY.md presentNo
Immutable releasesEnabled
Known vulnerabilitiesNone on record
How to use it safely
Recommended: pin to commit SHA
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1Mutable tags like v6.0.1 can be rewritten to point at malicious commits. Pinning to the full commit SHA is the only reference GitHub guarantees immutable.
Full workflow example
steps: - uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
Score breakdown
Security (35%)63
Popularity (20%)71
Maintenance (30%)100
Reliability (15%)49
Add this badge to your README
Markdown
[](https://actionrank.dev/actions/actions-setup-java)HTML version
HTML
<a href="https://actionrank.dev/actions/actions-setup-java"><img src="https://actionrank.dev/api/badge/actions-setup-java" alt="ActionRank score"></a>Free to use, no attribution required — the badge updates itself as the score changes. How badges work