Skip to content

Commit e7328aa

Browse files
committed
Removed cache dir before packing distro in GitHub Action.
1 parent 65b3810 commit e7328aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

library/jvm/src/main/scala/org/sireum/Init.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2101,6 +2101,9 @@ import Init._
21012101
if (libCache.exists) {
21022102
libCache.moveTo(tmp)
21032103
}
2104+
if (Os.env("GITHUB_ACTIONS").nonEmpty) {
2105+
cache.removeAll()
2106+
}
21042107
if (Os.isWin) {
21052108
val p7zz = install7zz()
21062109
Os.proc(ISZ[String](p7zz.string, "a", rname) ++ files).at(home.up.canon).runCheck()

0 commit comments

Comments
 (0)