diff --git a/.github/workflows/build_viewer.yml b/.github/workflows/build_viewer.yml index 1a9df8ca3e..8adc9171c1 100644 --- a/.github/workflows/build_viewer.yml +++ b/.github/workflows/build_viewer.yml @@ -168,7 +168,7 @@ jobs: fi function find_most_recent_bundle() { local pattern="$1-.*$2[-_]+.*" - local most_recent_file=$(ls -t "${{ github.workspace }}" | grep "$pattern" | head -1) + local most_recent_file=$(ls -t "${{ github.workspace }}" | egrep "$pattern" | head -1) if [ -z "$most_recent_file" ]; then echo "" else