File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,16 @@ jobs:
5050 - name : Update verana.json with Input Values
5151 run : |
5252 mkdir -p ./chains/mainnet
53- jq --argjson rpc "${{ github.event.inputs.RPC_ENDPOINTS }}" \
54- --argjson api "${{ github.event.inputs.API_ENDPOINTS }}" \
55- '.rpc = $rpc | .api = $api' \
56- ./chains/mainnet/verana.json > ./chains/mainnet/verana-updated.json
53+ jq --arg rpc_raw '${{ github.event.inputs.RPC_ENDPOINTS }}' \
54+ --arg api_raw '${{ github.event.inputs.API_ENDPOINTS }}' \
55+ --arg chain_name "${{ github.event.inputs.CHAIN_NAME }}" \
56+ --arg chain_id "${{ github.event.inputs.CHAIN_ID }}" \
57+ '
58+ .rpc = ($rpc_raw | fromjson) |
59+ .api = ($api_raw | fromjson) |
60+ .chain_name = $chain_name |
61+ .chain_id = $chain_id
62+ ' ./chains/mainnet/verana.json > ./chains/mainnet/verana-updated.json
5763 mv ./chains/mainnet/verana-updated.json ./chains/mainnet/verana.json
5864
5965 - name : Log in to DockerHub
You can’t perform that action at this time.
0 commit comments