Skip to content

Commit 30d3280

Browse files
committed
Update the CI to accept resolc URL
1 parent 9069837 commit 30d3280

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/actions/run-differential-tests/action.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ inputs:
1818
required: false
1919
default: "main"
2020
type: string
21-
resolc-version:
22-
description: "The version of resolc to install and use in tests."
23-
required: false
24-
default: "0.5.0"
21+
resolc-download-url:
22+
description: "The URL to use to download the resolc compiler."
23+
required: true
2524
type: string
2625
use-compilation-caches:
2726
description: "Controls if the compilation caches will be used for the test run or not."
@@ -62,11 +61,8 @@ runs:
6261
submodules: recursive
6362
- name: Installing the Latest Resolc
6463
shell: bash
65-
if: ${{ runner.os == 'Linux' && runner.arch == 'X64' }}
6664
run: |
67-
VERSION="${{ inputs['resolc-version'] }}"
68-
ASSET_URL="https://github.com/paritytech/revive/releases/download/v$VERSION/resolc-x86_64-unknown-linux-musl"
69-
echo "Downloading resolc v$VERSION from $ASSET_URL"
65+
ASSET_URL="${{ inputs['resolc-download-url'] }}"
7066
curl -Lsf --show-error -o resolc "$ASSET_URL"
7167
chmod +x resolc
7268
./resolc --version

0 commit comments

Comments
 (0)