From 407ccc223f9bb6ce2a68ceecba8cf24905f368b6 Mon Sep 17 00:00:00 2001 From: Rigidity Date: Sun, 29 Sep 2024 23:25:45 -0400 Subject: [PATCH] fix --- .github/workflows/rust.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2865d1e0..0f4c0abd 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 @@ -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: