From 06f8da9ddd955014c7f03a4d9f480060f273a005 Mon Sep 17 00:00:00 2001 From: Rigidity Date: Sun, 29 Sep 2024 22:56:12 -0400 Subject: [PATCH] Add check --- .github/workflows/rust.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7737c395..2865d1e0 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -152,6 +152,16 @@ 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: