Skip to content

Commit

Permalink
Fix a typo in Dockerfile (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
yvan-sraka authored Apr 13, 2024
1 parent b37cc6f commit aab6458
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aab6458

Please sign in to comment.