Skip to content

Commit 8b8bcee

Browse files
committed
Fix test for macOS executable discovery
1 parent ef2c71c commit 8b8bcee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/scandir.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
if [[ ! "${{ steps.one.outputs.files }}" =~ $expect1 ]];then
3939
echo "::error:: Expected file $expect1 not found in ${{ steps.one.outputs.files }}"
4040
exit 1
41-
if [[ ! "${{ steps.one.outputs.files }}" =~ $expect2 ]];then
41+
elif [[ ! "${{ steps.one.outputs.files }}" =~ $expect2 ]];then
4242
echo "::error:: Expected file $expect2 not found in ${{ steps.one.outputs.files }}"
4343
exit 1
4444
elif [[ "${{ steps.one.outputs.files }}" =~ $notexpect ]];then

0 commit comments

Comments
 (0)