Skip to content

Commit 2321199

Browse files
fix(ci): add solc-select to fill stage of build fixtures (#618)
Co-authored-by: danceratopz <[email protected]>
1 parent eee1625 commit 2321199

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/actions/build-fixtures/action.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,14 @@ runs:
2323
id: evm-builder
2424
with:
2525
type: ${{ steps.properties.outputs.evm-type }}
26-
- name: Install solc compiler
27-
shell: bash
28-
run: |
29-
if [ "$RUNNER_OS" == "Linux" ]; then PLATFORM="linux-amd64"; else PLATFORM="macosx-amd64"; fi
30-
RELEASE_NAME=$(curl https://binaries.soliditylang.org/${PLATFORM}/list.json | jq -r --arg SOLC_VERSION "${{ steps.properties.outputs.solc }}" '.releases[$SOLC_VERSION]')
31-
wget -O $GITHUB_WORKSPACE/bin/solc https://binaries.soliditylang.org/${PLATFORM}/$RELEASE_NAME
32-
chmod a+x $GITHUB_WORKSPACE/bin/solc
33-
echo $GITHUB_WORKSPACE/bin >> $GITHUB_PATH
3426
- name: Run fixtures fill
3527
shell: bash
3628
run: |
3729
pip install --upgrade pip
3830
python -m venv env
3931
source env/bin/activate
4032
pip install -e .
33+
solc-select use ${{ steps.properties.outputs.solc }} --always-install
4134
fill -n auto --evm-bin=${{ steps.evm-builder.outputs.evm-bin }} ${{ steps.properties.outputs.fill-params }}
4235
- name: Create fixtures info file
4336
shell: bash

0 commit comments

Comments
 (0)