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 7b2e138
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 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
if [ -d "$HOME" ]; then
if [ ! -d "$HOME/.solcx" ]; then
mkdir "/home/runner/.solcx"
echo "Solcx directory created."
fi
if [ ! -d "/home/runner/.vvm" ]; then
if [ ! -d "$HOME/.vvm" ]; then
mkdir "/home/runner/.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 7b2e138

Please sign in to comment.