Skip to content
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

Cache sbt build artifacts across CI runs #273

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

julienrf
Copy link
Contributor

@julienrf julienrf commented Jun 1, 2023

Changed step to install Java to actions/setup-java instead of olafurpg/setup-scala, switch to the temurin distribution, and enable sbt caching.

The main motivation for this change is that the workflow release.yml is linked as an example from the documentation. I think it is important to have it up to date and efficient.

Changed step to install Java to actions/setup-java instead of olafurpg/setup-scala, switch to the temurin distribution, and enable sbt caching.
Copy link
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

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

Thanks @julienrf!

Copy link
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

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

Thanks @julienrf!

@eed3si9n eed3si9n merged commit 8b80933 into sbt:main Jun 1, 2023
@@ -10,7 +10,11 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v14
- uses: actions/setup-scala@v3
Copy link
Member

Choose a reason for hiding this comment

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

There's a typo here that broke release. it should be actions/setup-java
https://github.com/sbt/sbt-ci-release/actions/runs/5145242446/jobs/9262621172

@julienrf julienrf deleted the enable-ci-cache branch June 1, 2023 14:13
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.

2 participants