Skip to content

Commit

Permalink
echo if not match
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeGat committed Sep 16, 2024
1 parent 92528a9 commit 5d4ef48
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
if [[ "${{ inputs.acl }}" =~ $user_regex ]]; then
user_regex_groups+=${BASH_REMATCH[0]}
user_regex_groups+=${BASH_REMATCH[1]}
else
echo "No match"
fi
echo ${user_regex_groups[*]}
Expand All @@ -31,5 +33,7 @@ jobs:
if [[ "${{ inputs.acl }}" =~ $group_regex ]]; then
group_regex_groups+=${BASH_REMATCH[0]}
group_regex_groups+=${BASH_REMATCH[1]}
else
echo "No match"
fi
echo ${group_regex_groups[*]}

0 comments on commit 5d4ef48

Please sign in to comment.