mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 00:06:57 +00:00
* [ubuntu] Rename build scripts * [ubuntu] Change reboot to inline shell * [ubuntu] Move disk space validation to pester tests * [ubuntu] Rename helper and tests files * [ubuntu] Changes to cleanup, post-deployment and r scripts
16 lines
528 B
Bash
16 lines
528 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: install-sbt.sh
|
|
## Desc: Install sbt
|
|
################################################################################
|
|
|
|
source $HELPER_SCRIPTS/install.sh
|
|
|
|
# Install latest sbt release
|
|
downloadUrl=$(get_github_package_download_url "sbt/sbt" "endswith(\".tgz\")")
|
|
download_with_retries "$downloadUrl" "/tmp" "sbt.tgz"
|
|
tar zxf /tmp/sbt.tgz -C /usr/share
|
|
ln -s /usr/share/sbt/bin/sbt /usr/bin/sbt
|
|
|
|
invoke_tests "Tools" "Sbt"
|