Skip to content

Commit

Permalink
change mingw regex
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoieni committed Nov 18, 2024
1 parent ad2db21 commit 0f176c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ci/shared.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ function isLinux {
}

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

function isCiBranch {
Expand Down

0 comments on commit 0f176c8

Please sign in to comment.