-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
sbt is missing in the latest ubuntu runner release #10767
Comments
Hi @sebastianfeduniak - Thank you for bringing this issue to our attention. We will look into this issue and will update you on this issue after investigating. |
HI @sebastianfeduniak , Previously I request that please use ubuntu-22.04 version and run the pipeline ; it would work . Thank you ! |
@kishorekumar-anchala I know it would work but it's not a solution to downgrade. For me it's just temp solution to mitigate the issue. I aim to use the latest versions of software. If sbt is no longer available, I will need to install it on my own. |
Hi @sebastianfeduniak - Thank you for your input. As @kishorekumar-anchala mentioned to use ubuntu-22.04 version to ensure the pipeline runs successfully. While I understand your preference for using the latest versions, this approach can help mitigate the issue. |
I have a similar issue with - name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v2'
with:
version: '>= 363.0.0' |
I think any version higher than macOS 12 has this problem.
|
@armanbilge Thank you so much. Also by following the link from that issue, I found that there is |
@sebastianfeduniak here's and example of the actions described above: https://eed3si9n.com/setup-sbt/ env:
JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
- uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: sbt
- uses: sbt/setup-sbt@v1
- name: Build and test
shell: bash
run: sbt -v +test |
Hi All, This issue will be taken care under 10788 . |
As of December 2024, `ubuntu-latest` now stands for `ubuntu-24.04`, which unlike the previous version `ubuntu-22.04` no longer has `sbt` preinstalled, see https://github.com/sbt/setup-sbt/tree/v1.1.5?tab=readme-ov-file#why-is-this-github-action-needed See also * actions/runner-images#10767 * actions/runner-images#10788
Description
My pipelines depend on
sbt
installed on the runner.It was included in the previous versions of ubuntu runner.
It's available in the previous version: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md?plain=1#L66
But not available in the latest version: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md?plain=1#L58
In effect, my builds started failing.
I didn't find announcement regarding it. Is it a bug or you won't provide sbt for now on?
Platforms affected
Runner images affected
Image version and build link
It's available in the previous version: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md?plain=1#L66
But not available in the latest version: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md?plain=1#L58
Is it regression?
ubuntu-22.04
Expected behavior
sbt is available
Actual behavior
sbt is not available
Repro steps
sbt
in the latest ubuntu runner version.sbt
binary.The text was updated successfully, but these errors were encountered: