Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Sep 30, 2024
1 parent 06f8da9 commit 407ccc2
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,16 @@ jobs:
git clone https://github.com/Chia-Network/mpir_gc_x64.git
echo "$(Get-Location)\mpir_gc_x64" >> $GITHUB_PATH
- name: Check if MPIR DLL is on the PATH
if: matrix.os.name == 'Windows'
run: |
$pathList = $Env:PATH -split ";"
foreach ($path in $pathList) {
if (Test-Path "$path\mpir.dll") {
Write-Output "Found mpir.dll in $path"
}
}
- name: Install libclang-dev on Linux
if: matrix.os.name == 'Ubuntu'
run: sudo apt-get install libclang-dev -y
Expand Down Expand Up @@ -152,16 +162,6 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check if MPIR DLL is on the PATH
run: |
$pathList = $Env:PATH -split ";"
foreach ($path in $pathList) {
if (Test-Path "$path\mpir.dll") {
Write-Output "Found mpir.dll in $path"
}
}
shell: powershell

- name: Publish to crates.io
if: env.RELEASE == 'true'
env:
Expand Down

0 comments on commit 407ccc2

Please sign in to comment.