Skip to content

Commit da80308

Browse files
authored
Search built binaries
1 parent dbdcd84 commit da80308

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ jobs:
6868
RUBY_VERSION_OUTPUT=$(ruby -e 'print RUBY_VERSION')
6969
# For mingw builds, ext.platform from Rake::ExtensionTask usually becomes something like x64-mingw-ucrt
7070
# We'll use the platform string directly from the error message if it matches RUBY_VERSION_OUTPUT
71-
SO_DIR_PLATFORM="x64-mingw-ucrt"
72-
SO_PATH="${GITHUB_WORKSPACE}/lib/${RUBY_VERSION_OUTPUT}/${SO_DIR_PLATFORM}/date_core.so"
71+
SO_PATH=("${GITHUB_WORKSPACE}/lib/${RUBY_VERSION_OUTPUT}"/*/date_core.so)
72+
SO_PATH="${SO_PATH[0]}"
7373
7474
echo "Checking for .so file at: $SO_PATH"
7575
if [ ! -f "$SO_PATH" ]; then

0 commit comments

Comments
 (0)