From eecec6c5023a8d30e5c76469e129de983c355147 Mon Sep 17 00:00:00 2001 From: Tina-57blocks Date: Mon, 30 Dec 2024 17:17:26 +0800 Subject: [PATCH] Update hardhat_e2e.yml --- .github/workflows/hardhat_e2e.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hardhat_e2e.yml b/.github/workflows/hardhat_e2e.yml index a7a6ccad..075ccdcb 100644 --- a/.github/workflows/hardhat_e2e.yml +++ b/.github/workflows/hardhat_e2e.yml @@ -82,9 +82,9 @@ jobs: echo $rpcurl echo $chainid - result=$(forge create --rpc-url $rpcurl --optimize --optimizer-runs 30000 --legacy --force --json --private-key ${{ secrets.STORY_PRIVATEKEY }} test/foundry/mocks/token/MockERC721.sol:MockERC721 --constructor-args "MockERC" "MockERC" | grep deployedTo) + result=$(forge create --rpc-url $rpcurl --optimize --optimizer-runs 30000 --legacy --json --private-key ${{ secrets.STORY_PRIVATEKEY }} test/foundry/mocks/token/MockERC721.sol:MockERC721 --constructor-args "MockERC" "MockERC" 2>&1) echo $result - erc721=$(echo $result | jq -r '.deployedTo') + erc721=$(echo $result | grep deployedTo | jq -r '.deployedTo') echo $erc721 echo "STORY_URL=$rpcurl" >> .env