8000 [build] use coursier/cache-action by fwbrasil · Pull Request #975 · getkyo/kyo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[build] use coursier/cache-action #975

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 6, 2025
Merged

[build] use coursier/cache-action #975

merged 1 commit into from
Jan 6, 2025

Conversation

fwbrasil
Copy link
Collaborator
@fwbrasil fwbrasil commented Jan 6, 2025

The action caches dependencies across runs: https://github.com/coursier/cache-action

@hearnadam hearnadam merged commit b89935b into main Jan 6, 2025
3 checks passed
@hearnadam hearnadam deleted the coursier-cache branch January 6, 2025 05:57
@@ -57,6 +57,7 @@ jobs:
- uses: actions/checkout@v3.0.2
with:
fetch-depth: 0
- uses: coursier/cache-action@v6
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll probably be better off with https://github.com/actions/setup-java?tab=readme-ov-file#caching-sbt-dependencies

I's literally just

- uses: actions/setup-java@v4
  with:
    distribution: 'temurin'
    java-version: '21'
    cache: 'sbt'

Instead of needing coursier/cache-action and olafurpg/setup-scala

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0