Skip to content

Commit 3acbe2a

Browse files
committed
Restructures check for Mesa3D DLL
1 parent 901db08 commit 3acbe2a

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/build_executables.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,14 @@ jobs:
4040
exit 1
4141
}
4242
43-
- name: Move DLL to Working Directory
44-
shell: pwsh # Specify PowerShell as the shell
43+
- name: Check for Mesa3D DLL
44+
shell: pwsh
4545
run: |
46-
if ( -f "./mesa3d/opengl32.dll" ); then
47-
mv ./mesa3d/opengl32.dll ${{ runner.temp }}/opengl32.dll
48-
else
49-
echo "Extraction failed: opengl32.dll not found"
50-
exit 1
51-
fi
46+
if (Test-Path "./mesa3d/opengl32.dll") {
47+
Write-Host "Mesa3D DLL exists."
48+
} else {
49+
Write-Host "Mesa3D DLL does not exist."
50+
}
5251
5352
- name: Add Mesa3D to Path
5453
run: |

0 commit comments

Comments
 (0)