From 506a6f7fcf1c8397245d8806b49b61dab1ade5ee Mon Sep 17 00:00:00 2001 From: Yvan Sraka Date: Tue, 16 Apr 2024 09:31:22 +0200 Subject: [PATCH] Retrieve `~/.cabal-devx` and `~/.cache` from GHA cache in Codespaces --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7138ea2..cb8ba68 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,7 +52,9 @@ if [ -n "\$PROJECT_DIR" ]; then echo "Attempting to download HLS cache from GitHub Artifact (cache-\$COMMIT_HASH-$COMPILER_NIX_NAME) for faster first launch ..." gh run download -D .download -n "cache-\$COMMIT_HASH-$COMPILER_NIX_NAME" if [ -n .download ]; then - rsync -a .download/ dist-newstyle/ + rsync -a .download/dist-newstyle dist-newstyle + rsync -a .download/.cabal-devx $HOME/.cabal-devx + rsync -a .download/.cache $HOME/.cache rm -r .download fi else