Skip to content

Commit c4ab8b7

Browse files
committed
Clean up build script
1 parent 36385db commit c4ab8b7

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/build.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,22 @@ jobs:
7676
mkdir -p ${{ runner.temp }}/bin
7777
7878
git clone https://github.com/paradigmxyz/reth
79-
cd reth
80-
git checkout --force fad870e3508adcc150faa4554111368e0e16f43b
79+
git -C reth checkout --force fad870e3508adcc150faa4554111368e0e16f43b
80+
81+
pushd reth
8182
cargo build --features asm-keccak --profile release --bin op-reth --manifest-path crates/optimism/bin/Cargo.toml
8283
cp ./target/release/op-reth ${{ runner.temp }}/bin/reth
83-
cd ..
84+
popd
8485
chmod +x ${{ runner.temp }}/bin/reth
8586
8687
git clone https://github.com/ethereum-optimism/op-geth
87-
cd op-geth
88-
git checkout --force 4bc345b22fbee14d3162becd197373a9565b7c6d
88+
git -C op-geth checkout --force 4bc345b22fbee14d3162becd197373a9565b7c6d
89+
90+
pushd op-geth
8991
make geth
9092
cp ./build/bin/geth ${{ runner.temp }}/bin/geth
9193
chmod +x ${{ runner.temp }}/bin/geth
92-
cd ..
94+
popd
9395
9496
echo "binaries compiled:"
9597
ls -la ${{ runner.temp }}/bin

0 commit comments

Comments
 (0)