Skip to content

Commit 8656831

Browse files
committed
fix: retrieve fork URL and block number
1 parent c4451d0 commit 8656831

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,16 @@ jobs:
9494
- name: Fetch genesis block number
9595
id: fetch_block
9696
run: |
97-
BLOCK_NUMBER=$(cat /local-stack-env/FORK_BLOCK)
97+
BLOCK_NUMBER=$(cat /test-stack/FORK_BLOCK)
98+
FORK_URL=$(cat /test-stack/FORK_URL)
9899
echo "BLOCK=$BLOCK_NUMBER" >> $GITHUB_OUTPUT
100+
echo "URL=$FORK_URL" >> $GITHUB_OUTPUT
101+
102+
- name: Start Anvil
103+
uses: iExecBlockchainComputing/anvil-github-action@main
104+
with:
105+
fork-url: ${{ steps.fetch_block.outputs.URL }}
106+
fork-block-number: ${{ steps.fetch_block.outputs.BLOCK }}
99107

100108
- name: Start Graph Node
101109
run: |

0 commit comments

Comments
 (0)