mirror of https://github.com/sbt/sbt.git
Clear .sbt/scripted/ directory
This commit is contained in:
parent
79d7832a35
commit
d19b2faaa5
|
|
@ -68,6 +68,7 @@ jobs:
|
||||||
key: ${{ runner.os }}-sbt-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
|
key: ${{ runner.os }}-sbt-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
|
||||||
- name: Build and test
|
- name: Build and test
|
||||||
run: |
|
run: |
|
||||||
|
rm -rf "$HOME/.sbt/scripted/" || true
|
||||||
case ${{ matrix.jobtype }} in
|
case ${{ matrix.jobtype }} in
|
||||||
1)
|
1)
|
||||||
sbt -v "mimaReportBinaryIssues ; javafmtCheck ; Test / javafmtCheck; scalafmtCheckAll ; scalafmtSbtCheck; serverTestProj/scalafmtCheckAll; headerCheck ;test:headerCheck ;whitesourceOnPush ;test:compile; publishLocal; test; serverTestProj/test; doc; $UTIL_TESTS; ++$SCALA_213; $UTIL_TESTS"
|
sbt -v "mimaReportBinaryIssues ; javafmtCheck ; Test / javafmtCheck; scalafmtCheckAll ; scalafmtSbtCheck; serverTestProj/scalafmtCheckAll; headerCheck ;test:headerCheck ;whitesourceOnPush ;test:compile; publishLocal; test; serverTestProj/test; doc; $UTIL_TESTS; ++$SCALA_213; $UTIL_TESTS"
|
||||||
|
|
@ -98,6 +99,7 @@ jobs:
|
||||||
echo unknown jobtype
|
echo unknown jobtype
|
||||||
exit 1
|
exit 1
|
||||||
esac
|
esac
|
||||||
|
rm -rf "$HOME/.sbt/scripted/" || true
|
||||||
rm -rf "$HOME/.ivy2/local" || true
|
rm -rf "$HOME/.ivy2/local" || true
|
||||||
rm -r $(find $HOME/.sbt/boot -name "*-SNAPSHOT") || true
|
rm -r $(find $HOME/.sbt/boot -name "*-SNAPSHOT") || true
|
||||||
find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true
|
find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue