@@ -17,7 +17,10 @@ outputs:
1717 value : ${{ steps.config-evm-reader.outputs.ref }}
1818 evm-bin :
1919 description : " Binary name of the evm tool to use"
20- value : ${{ steps.config-evm-reader.outputs.evm-bin }}
20+ value : ${{ steps.config-evm-impl-config-reader.outputs.evm-bin }}
21+ x-dist :
22+ description : " Binary name of the evm tool to use"
23+ value : ${{ steps.config-evm-impl-config-reader.outputs.x-dist }}
2124runs :
2225 using : " composite"
2326 steps :
@@ -27,13 +30,20 @@ runs:
2730 run : |
2831 awk "/^${{ inputs.type }}:/{flag=1; next} /^[[:alnum:]]/{flag=0} flag" ./configs/evm.yaml \
2932 | sed 's/ //g' | sed 's/:/=/g' >> "$GITHUB_OUTPUT"
33+ - name : Get the EVM implementation configuration from configs/evm-impl-config.yaml
34+ id : config-evm-impl-config-reader
35+ shell : bash
36+ run : |
37+ awk "/^${{ steps.config-evm-reader.outputs.impl }}:/{flag=1; next} /^[[:alnum:]]/{flag=0} flag" ./configs/evm-impl.yaml \
38+ | sed 's/ //g' | sed 's/:/=/g' >> "$GITHUB_OUTPUT"
3039 - name : Print Variables for the selected EVM type
3140 shell : bash
3241 run : |
3342 echo "Implementation: ${{ steps.config-evm-reader.outputs.impl }}"
3443 echo "Repository: ${{ steps.config-evm-reader.outputs.repo }}"
3544 echo "Reference: ${{ steps.config-evm-reader.outputs.ref }}"
36- echo "EVM Binary: ${{ steps.config-evm-reader.outputs.evm-bin }}"
45+ echo "EVM Binary: ${{ steps.config-evm-impl-config-reader.outputs.evm-bin }}"
46+ echo "X-Dist parameter: ${{ steps.config-evm-impl-config-reader.outputs.x-dist }}"
3747 - name : Build the EVM using Geth action
3848 if : steps.config-evm-reader.outputs.impl == 'geth'
3949 uses : ./.github/actions/build-geth-evm
0 commit comments