Skip to content

Commit

Permalink
fix: mac
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Jan 8, 2025
1 parent 584acc9 commit 24778ac
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,17 +143,17 @@ runs:
# https://github.com/actions/cache/issues/1241
# NOTE: If /home/runner does not exist, mkdir fails.
if [ -d "/home/runner" ]; then
if [ ! -d "/home/runner/.solcx" ]; then
mkdir "/home/runner/.solcx"
if [ -d "$HOME" ]; then
if [ ! -d "$HOME/.solcx" ]; then
mkdir "$HOME/.solcx"
echo "Solcx directory created."
fi
if [ ! -d "/home/runner/.vvm" ]; then
mkdir "/home/runner/.vvm"
if [ ! -d "$HOME/.vvm" ]; then
mkdir "$HOME/.vvm"
echo "VVM directory created."
fi
if [ ! -d "${{ github.workspace }}/.build" ]; then
mkdir "${{ github.workspace }}/.build"
if [ ! -d "$HOME/.build" ]; then
mkdir "$HOME/.build"
echo ".build directory created."
fi
fi

0 comments on commit 24778ac

Please sign in to comment.