File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -44,21 +44,20 @@ jobs:
4444 id : prepare
4545 run : npx tsx ./test-stack/prepare-test-env.ts
4646
47- # - name: Fetch genesis block number
48- # id: fetch_block
49- # run: |
50- # BLOCK_NUMBER=$(cat /test-stack/FORK_BLOCK)
51- # FORK_URL=$(cat /test-stack/FORK_URL)
52- # echo "BLOCK=$BLOCK_NUMBER" >> $GITHUB_OUTPUT
53- # echo "URL=$FORK_URL" >> $GITHUB_OUTPUT
47+ - name : Fetch genesis block number
48+ id : fetch_block
49+ run : |
50+ source ./test-stack/.env
51+ echo "BLOCK=$FORK_BLOCK" >> $GITHUB_OUTPUT
52+ echo "URL=$FORK_URL" >> $GITHUB_OUTPUT
5453
5554 - name : Start local stack
5655 uses :
hoverkraft-tech/[email protected] 5756 with :
5857 compose-file : " ./test-stack/docker-compose.yml"
5958 env :
60- FORK_URL : " https://bellecour.iex.ec "
61- FORK_BLOCK : 33336595
59+ FORK_URL : ${{ steps.fetch_block.outputs.URL }}
60+ FORK_BLOCK : ${{ steps.fetch_block.outputs.BLOCK }}
6261 NETWORK_NAME : " bellecour"
6362
6463 - name : Run integration tests
You can’t perform that action at this time.
0 commit comments