mirror of
https://github.com/input-output-hk/devx.git
synced 2024-10-26 04:08:39 +03:00
Retrieve ~/.cabal-devx
and ~/.cache
from GHA cache in Codespaces (#154)
This commit is contained in:
parent
30f0b9b7a9
commit
35d560306d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user