Skip to content

Commit

Permalink
Add check
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Sep 30, 2024
1 parent 0f6e146 commit 06f8da9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 06f8da9

Please sign in to comment.