Skip to content

Commit

Permalink
fix: ci for testing installation script and remove artifacts (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
dutterbutter authored Sep 11, 2024
1 parent 76073b6 commit 62418bb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions install-foundry-zksync
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,23 @@ else
echo "No shell configuration file detected. Please source your shell manually or start a new terminal session."
fi

echo "Downloading foundryup-zksync..."
curl -L "$FOUNDRYUP_ZKSYNC_URL" -o foundryup-zksync

echo "Making foundryup-zksync executable..."
chmod +x ./foundryup-zksync

echo "Running foundryup-zksync setup..."
./foundryup-zksync

# Cleanup: remove install and install.log
# Keeps foundryup-zksync for ease of use
echo "Cleaning up installation artifacts..."
rm -f ./install ./install.log
echo "Cleanup completed."

echo "Installation completed successfully!"

echo "Verifying installation..."
if forge --version | grep -q "0.0.2"; then
echo "Forge version 0.0.2 is successfully installed."
Expand Down

0 comments on commit 62418bb

Please sign in to comment.