λ
Size: a a a
λ
NV
ΛВ
NV
ΛВ
NV
ΛВ
ΛВ
ΛВ
NV
ΛВ
pushRemoteCacheTo in ThisBuild := Some(
MavenCache("local-ci-cache", file("remote-cache"))
)
:
stage: compile
script:
- ets -s -f '[%T.%L]' scalafmt-native --check
- ets -s -f '[%T.%L]' sbt compile test:compile pushRemoteCache
artifacts:
paths:
- target/scala-2.13/meta
- target/scala-2.13/test-meta
- local-ci-cache/
sbt pullRemoteCache cmd cmd cmd
ΛВ
NV
pushRemoteCacheTo in ThisBuild := Some(
MavenCache("local-ci-cache", file("remote-cache"))
)
:
stage: compile
script:
- ets -s -f '[%T.%L]' scalafmt-native --check
- ets -s -f '[%T.%L]' sbt compile test:compile pushRemoteCache
artifacts:
paths:
- target/scala-2.13/meta
- target/scala-2.13/test-meta
- local-ci-cache/
sbt pullRemoteCache cmd cmd cmd
target
кэшироватьΛВ
target
кэшироватьΛВ
NV
variables:
SBT_OPTS: "-Dsbt.global.base=sbt-cache/.sbtboot -Dsbt.boot.directory=sbt-cache/.boot -Dsbt.ivy.home=sbt-cache/.ivy"
COURSIER_CACHE: "sbt-cache/coursier"
cache:
key: "$CI_BUILD_REF_NAME"
untracked: true
paths:
- "sbt-cache/.ivy/cache"
- "sbt-cache/coursier"
- "sbt-cache/.boot"
- "sbt-cache/.sbtboot"
NV
ΛВ
ΛВ