feat: rename download-filter to download-pattern, implement pattern matching and improve action output

This commit is contained in:
fuse314 2025-12-05 21:57:04 +00:00
parent 63c75028f3
commit 1b139d6f59
3 changed files with 34 additions and 21 deletions

View file

@ -38,8 +38,8 @@ inputs:
download-latest:
description: 'Download the latest release'
default: false
download-filter:
description: 'Filter assets to download by name (Comma-separated values, e.g. `file1.htm,file3.css`)'
download-pattern:
description: 'Only download assets with matching names, e.g. `file1.htm style*.css` (default empty: download all assets)'
verbose:
description: 'Increase the verbosity level'
default: false
@ -82,7 +82,7 @@ runs:
export TITLE="${{ inputs.title }}"
export DOWNLOAD_LATEST="${{ inputs.download-latest }}"
export DOWNLOAD_FILTER="${{ inputs.download-filter }}"
export DOWNLOAD_PATTERN="${{ inputs.download-pattern }}"
export PRERELEASE="${{ inputs.prerelease }}"