Setup Java JDK
Actively maintainedactions/setup-java · MIT
Set up your GitHub Actions workflow with a specific version of Java
★ 2k starsLast commit todayLatest v6.1.0
B
73
/ 100
Security signals
OpenSSF Scorecard5.3 / 10
SECURITY.md presentNo
Immutable releasesEnabled
Known vulnerabilitiesNone on record
How to use it safely
Recommended: pin to commit SHA
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0Mutable tags like v6.1.0 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@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
Score breakdown
Security (35%)62
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