Skip to content

Commit e276076

Browse files
committed
The case expression is preferable to the pseudo-condition operator
1 parent 9ed1517 commit e276076

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/mingw.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
) }}
4545
MINGW_PACKAGE_PREFIX: >-
4646
mingw-w${{
47-
endsWith(matrix.msystem, '64') && '64' || '32'
47+
case(endsWith(matrix.msystem, '64'), '64', '32')
4848
}}-${{ case(
4949
startsWith(matrix.msystem, 'clang'), 'clang',
5050
startsWith(matrix.msystem, 'ucrt'), 'ucrt',

0 commit comments

Comments
 (0)