From 886779d2dd4f5448c8f0e3a4df85718bd97669aa Mon Sep 17 00:00:00 2001 From: Tina-57blocks Date: Mon, 30 Dec 2024 16:28:53 +0800 Subject: [PATCH] Update hardhat_e2e.yml --- .github/workflows/hardhat_e2e.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hardhat_e2e.yml b/.github/workflows/hardhat_e2e.yml index de2e44fe..301e327d 100644 --- a/.github/workflows/hardhat_e2e.yml +++ b/.github/workflows/hardhat_e2e.yml @@ -38,7 +38,7 @@ jobs: strategy: matrix: - node-version: [20.0.0] + node-version: [21.x] steps: - name: Check Out Repository Code @@ -82,7 +82,8 @@ jobs: echo $rpcurl echo $chainid - erc721=$(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" | jq '.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") + erc721=$(echo $result | jq -r '.deployedTo') echo $erc721 echo "STORY_URL=$rpcurl" >> .env