Fix workflow for local testnets; reset genesis.json after running script

This commit is contained in:
Pawan Dhananjay
2023-03-24 01:16:31 +05:30
parent 72d1f53873
commit 41f87aca18
2 changed files with 14 additions and 1 deletions

View File

@@ -26,7 +26,16 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install ganache
run: npm install ganache@latest --global
- name: Install geth
run: |
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum
if: matrix.os == 'ubuntu-22.04'
run: |
brew tap ethereum/ethereum
brew install ethereum
if: matrix.os == 'macos-12'
- name: Install GNU sed & GNU grep
run: |
brew install gnu-sed grep