File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
.github/actions/run-differential-tests Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff 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."
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
You can’t perform that action at this time.
0 commit comments