mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-05-10 10:44:19 +00:00
parent
c9b46fe7aa
commit
89b23978f9
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ async function run() {
|
|||
if (config.input_files) {
|
||||
const patterns = unmatchedPatterns(config.input_files);
|
||||
patterns.forEach((pattern) =>
|
||||
console.warn(`🤔 Pattern '${pattern}' does not match any files.`)
|
||||
throw new Error(`⚠️ Pattern '${pattern}' does not match any files.`)
|
||||
);
|
||||
if (patterns.length > 0 && config.input_fail_on_unmatched_files) {
|
||||
throw new Error(`⚠️ There were unmatched files`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue