Skip to content

Commit 35d5603

Browse files
authored
Retrieve ~/.cabal-devx and ~/.cache from GHA cache in Codespaces (#154)
1 parent 30f0b9b commit 35d5603

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ if [ -n "\$PROJECT_DIR" ]; then
5252
echo "Attempting to download HLS cache from GitHub Artifact (cache-\$COMMIT_HASH-$COMPILER_NIX_NAME) for faster first launch ..."
5353
gh run download -D .download -n "cache-\$COMMIT_HASH-$COMPILER_NIX_NAME"
5454
if [ -n .download ]; then
55-
rsync -a .download/ dist-newstyle/
55+
rsync -a .download/dist-newstyle dist-newstyle
56+
rsync -a .download/.cabal-devx $HOME/.cabal-devx
57+
rsync -a .download/.cache $HOME/.cache
5658
rm -r .download
5759
fi
5860
else

0 commit comments

Comments
 (0)