Fix GHA cache usage in devx-container ... (#151)

This commit is contained in:
Yvan Sraka 2024-04-13 10:52:20 +02:00 committed by GitHub
parent aab645815c
commit 5a5783037a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,7 +52,7 @@ 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/
rm -r .download
fi
else