File tree Expand file tree Collapse file tree 2 files changed +298
-280
lines changed
actions/avalanchego-setup-action Expand file tree Collapse file tree 2 files changed +298
-280
lines changed Original file line number Diff line number Diff line change 3232 repository : ' ava-labs/avalanchego'
3333 ref : ${{ inputs.avalanchego }}
3434 path : ${{ inputs.checkout-path }}
35- - name : Setup Firewood FFI
36- if : inputs.firewood != ''
37- id : firewood
38- uses : ava-labs/firewood/.github/actions/build-action@composable-ci-action
39- with :
40- version : ${{ inputs.firewood }}
4135 - name : Update Coreth dependency
4236 if : inputs.coreth != ''
4337 shell : bash
5246 run : |
5347 echo "Updating LibEVM to version: ${{ inputs.libevm }}"
5448 go get github.com/ava-labs/libevm@${{ inputs.libevm }}
55- - name : Update Firewood FFI
49+ - name : Setup Firewood FFI
5650 if : inputs.firewood != ''
5751 shell : bash
5852 working-directory : ${{ inputs.checkout-path }}
59- run : |
60- echo "Replacing Firewood FFI with: ${{ steps.firewood.outputs.ffi-path }}"
61- go mod edit -replace github.com/ava-labs/firewood-go-ethhash/ffi=${{ steps.firewood.outputs.ffi-path }}
62- - name : Finalize dependencies
63- if : ${{ inputs.firewood != '' || inputs.coreth != '' || inputs.libevm != '' }}
64- shell : bash
65- working-directory : ${{ inputs.checkout-path }}
66- run : |
67- echo "Finalizing Go module dependencies"
68- go mod tidy
69- go mod download
53+ run : ./scripts/setup_firewood.sh ${{ inputs.firewood }}
You can’t perform that action at this time.
0 commit comments