Skip to content

Commit

Permalink
followup to #417 (#425)
Browse files Browse the repository at this point in the history
* followup to #417

* update changelog
  • Loading branch information
softprops authored Mar 12, 2024
1 parent 1ce812a commit 6ffed59
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## 2.0.4 (unreleased)
## 2.0.4

- Minor follow up to [#417](https://github.com/softprops/action-gh-release/pull/417). [#425](https://github.com/softprops/action-gh-release/pull/425)

## 2.0.3

Expand Down
6 changes: 5 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ async function run() {
if (config.input_files && config.input_files.length > 0) {
const files = paths(config.input_files);
if (files.length == 0) {
throw new Error(`⚠️ ${config.input_files} not include valid file.`);
if (config.input_fail_on_unmatched_files) {
throw new Error(`⚠️ ${config.input_files} not include valid file.`);
} else {
console.warn(`🤔 ${config.input_files} not include valid file.`);
}
}
const currentAssets = rel.assets;
const assets = await Promise.all(
Expand Down

0 comments on commit 6ffed59

Please sign in to comment.