From ad52f27c90887cce48c9f842bb8a0cef6046031f Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Thu, 7 Nov 2024 22:30:58 +0100 Subject: [PATCH] Revert using --error in sbt eval --- .github/actions/setup-build/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-build/action.yaml b/.github/actions/setup-build/action.yaml index 1dc26776..bd6464b0 100644 --- a/.github/actions/setup-build/action.yaml +++ b/.github/actions/setup-build/action.yaml @@ -36,7 +36,7 @@ runs: git --no-pager log -1 commitHash=$(git --no-pager rev-parse --short=7 HEAD | xargs) commitDate=$(git --no-pager show -s --format=%cd --date=format:"%Y%m%d" HEAD | xargs) - baseVersion=$(sbt --no-colors --error 'eval Build.baseVersion' | grep 'ans: String =' | awk '{ print $5 }' | xargs) + baseVersion=$(sbt --no-colors 'eval Build.baseVersion' | grep 'ans: String =' | awk '{ print $5 }' | xargs) # `SNAPSHOT` substring is required to treat compiler as experimental # All compilers build from branch are treated experimental scalaVersion=${baseVersion}-${commitDate}-${commitHash}-SNAPSHOT