Release Windows Version (#251)

With LLVM working only minor changes were necessary to get resolc
running on Windows.

Release in my branch here:
https://github.com/paritytech/revive-alex-workflowtest/releases/tag/v0.1.0-dev.12
This commit is contained in:
Alexander Theißen
2025-03-01 13:49:04 +01:00
committed by GitHub
parent 76f4cf71d6
commit 66f9a4d64f
3 changed files with 26 additions and 14 deletions
+10 -6
View File
@@ -3,12 +3,6 @@ name: "Install Solidity Compiler"
runs:
using: "composite"
steps:
- name: Put Solc Direcotry into PATH
shell: bash
run: |
mkdir -p solc
echo "$(pwd)/solc/" >> $GITHUB_PATH
- name: Figure out Solc Download URL
shell: bash
run: |
@@ -23,9 +17,19 @@ runs:
- name: Download Solc
shell: bash
run: |
mkdir -p solc
curl -sSL --output solc/solc https://github.com/ethereum/solidity/releases/download/v0.8.28/${SOLC_NAME}
- name: Make Solc Executable
if: ${{ runner.os == 'Windows' }}
shell: bash
run: |
echo "$(pwd -W)\\solc" >> $GITHUB_PATH
mv solc/solc solc/solc.exe
- name: Make Solc Executable
if: ${{ runner.os != 'Windows' }}
shell: bash
run: |
echo "$(pwd)/solc" >> $GITHUB_PATH
chmod +x solc/solc