Skip to content

Commit fdc1641

Browse files
committed
chore: populate the build-cache from the NFS
1 parent 2e77400 commit fdc1641

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
image: lampepfl/dotty:2024-10-18
8888
options: --cpu-shares 4096
8989
volumes:
90-
- /nfs-cache/.develocity/build-cache/${{ github.event.pull_request.number }}:/root/.sbt/1.0/.develocity/build-cache:ro
90+
- /nfs-cache/.develocity/build-cache/${{ github.event.pull_request.number }}:/root/build-cache-source:ro
9191
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
9292
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
9393
- ${{ github.workspace }}/../../cache/general:/root/.cache
@@ -103,6 +103,8 @@ jobs:
103103
&& github.repository == 'scala/scala3'
104104
)"
105105
steps:
106+
- name: Populate the Build Cache
107+
run: cp -r /root/build-cache-source/. /root/.sbt/1.0/.develocity/build-cache
106108
- name: Set JDK 17 as default
107109
run: echo "/usr/lib/jvm/java-17-openjdk-amd64/bin" >> $GITHUB_PATH
108110

0 commit comments

Comments
 (0)