Skip to content

Commit 8f8c3a4

Browse files
committed
Take GITHUB_SHA into account if it is set in tests
1 parent 2a6fd7b commit 8f8c3a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/scripts/cmdScaladocTests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ DOTTY_BOOTSTRAPPED_VERSION_COMMAND="$SBT \"eval println(Build.dottyVersion)\""
1717
DOTTY_BOOTSTRAPPED_VERSION=$(eval $DOTTY_BOOTSTRAPPED_VERSION_COMMAND | tail -n 2 | head -n 1)
1818

1919
SOURCE_LINKS_REPOSITORY="lampepfl/dotty"
20-
SOURCE_LINKS_VERSION="$DOTTY_BOOTSTRAPPED_VERSION"
20+
SOURCE_LINKS_VERSION="${GITHUB_SHA:-$DOTTY_BOOTSTRAPPED_VERSION}"
2121

2222
"$SBT" "scaladoc/generateTestcasesDocumentation" > "$tmp" 2>&1 || echo "generated testcases project with sbt"
2323
dist/target/pack/bin/scaladoc \

0 commit comments

Comments
 (0)