Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 0f176c8

Browse files
committed
change mingw regex
1 parent ad2db21 commit 0f176c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ci/shared.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ function isLinux {
5353
}
5454

5555
function isKnownToBeMingwBuild {
56-
# CI_JOB_NAME must contain "mingw" to be considered a MinGW build.
57-
isGitHubActions && [[ "${CI_JOB_NAME}" == *mingw* ]]
56+
# CI_JOB_NAME must end with "mingw" and optionally `-N` to be considered a MinGW build.
57+
isGitHubActions && [[ "${CI_JOB_NAME}" =~ mingw(-[0-9]+)?$ ]]
5858
}
5959

6060
function isCiBranch {

0 commit comments

Comments
 (0)