Fix a typo in Dockerfile (#150)

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

View File

@ -51,8 +51,10 @@ if [ -n "\$PROJECT_DIR" ]; then
COMMIT_HASH=\$(git rev-parse HEAD)
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"
rsync -a .download/work/cardano-base/cardano-base/dist-newstyle .
rm -r .download
if [ -n .download ]; then
rsync -a .download/dist-newstyle .
rm -r .download
fi
else
echo "\\\$GITHUB_TOKEN is not set. Skipping HLS cache download."
fi