feat: add input option overwrite_files. (#343)
Some checks are pending
main / build (push) Waiting to run

* Add input option overwrite_files.

* Fix description.

* update test and run fmt/build

Signed-off-by: Rui Chen <rui@chenrui.dev>

---------

Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Adriano dos Santos Fernandes 2025-06-11 02:54:42 -03:00 committed by GitHub
parent 5822334cb4
commit 605f567f95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 50 additions and 18 deletions

View file

@ -27,6 +27,10 @@ inputs:
files:
description: "Newline-delimited list of path globs for asset files to upload"
required: false
overwrite_files:
description: "Overwrite existing files with the same name. Defaults to true"
required: false
default: 'true'
fail_on_unmatched_files:
description: "Fails if any of the `files` globs match nothing. Defaults to false"
required: false