mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2025-12-19 12:55:46 +02:00
feat: rename download-filter to download-pattern, implement pattern matching and improve action output
This commit is contained in:
parent
63c75028f3
commit
1b139d6f59
3 changed files with 34 additions and 21 deletions
|
|
@ -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 }}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue