Replace setup-scala with setup-java in snapshot workflow (#677)

Updates snapshot.yml to use actions/setup-java@v4 instead of olafurpg/setup-scala@v14 for better consistency with other workflows and official GitHub Actions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Taro L. Saito 2025-07-19 11:22:05 -07:00 committed by GitHub
parent 6d25a37cbe
commit e8e8ec79f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,9 +24,10 @@ jobs:
fetch-depth: 10000
# Fetch all tags so that sbt-dynver can find the previous release version
- run: git fetch --tags
- uses: olafurpg/setup-scala@v14
- uses: actions/setup-java@v4
with:
java-version: adopt@1.11
distribution: 'zulu'
java-version: '11'
- uses: actions/cache@v4
with:
path: ~/.cache