Tweak linux matching

master
Beq 2023-06-27 02:02:51 +01:00
parent 827cb2ade4
commit 13daa0f5af
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ jobs:
path_sep="\\"
fi
function find_most_recent_bundle() {
local pattern="$1-.*$2-.*"
local pattern="$1-.*$2[-_]+.*"
local most_recent_file=$(ls -t "${{ github.workspace }}" | grep "$pattern" | head -1)
if [ -z "$most_recent_file" ]; then
echo ""