Skip to content

Commit

Permalink
gha: relibable java_home for sbt
Browse files Browse the repository at this point in the history
  • Loading branch information
pshirshov committed Nov 11, 2024
1 parent 93c0d3c commit 6749845
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions devops/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ set -x
source ./devops/.env.sh

sbt -batch -no-colors -v \
--java-home "$JAVA_HOME" \
"$VERSION_COMMAND clean" \
coverage \
"$VERSION_COMMAND Test/compile" \
Expand Down
2 changes: 2 additions & 0 deletions devops/publish-scala.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ echo "PUBLISH SCALA LIBRARIES..."

if [[ "$CI_BRANCH_TAG" =~ ^v.*$ ]] ; then
sbt -batch -no-colors -v \
--java-home "$JAVA_HOME" \
"show credentials" \
"$VERSION_COMMAND clean" \
"$VERSION_COMMAND package" \
"$VERSION_COMMAND publishSigned"
else
sbt -batch -no-colors -v \
--java-home "$JAVA_HOME" \
"show credentials" \
"$VERSION_COMMAND clean" \
"$VERSION_COMMAND package" \
Expand Down
1 change: 1 addition & 0 deletions devops/site-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ source ./devops/.env.sh
source ./devops/.validate-publishing.sh

sbt -batch -no-colors -v \
--java-home "$JAVA_HOME" \
"project docs" \
"$VERSION_COMMAND clean" \
"$VERSION_COMMAND makeSite" \
Expand Down
1 change: 1 addition & 0 deletions devops/site-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ set -x
source ./devops/.env.sh

sbt -batch -no-colors -v \
--java-home "$JAVA_HOME" \
"project docs" \
"$VERSION_COMMAND clean" \
"$VERSION_COMMAND makeSite"
1 change: 1 addition & 0 deletions devops/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ set -x
source ./devops/.env.sh

sbt -batch -no-colors -v \
--java-home "$JAVA_HOME" \
"$VERSION_COMMAND clean" \
"$VERSION_COMMAND Test/compile" \
"$VERSION_COMMAND test"
Expand Down

0 comments on commit 6749845

Please sign in to comment.