mirror of
https://github.com/softprops/action-gh-release.git
synced 2024-08-17 00:00:39 +03:00
parent
1ce812a7bd
commit
6ffed59e55
@ -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
|
||||
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user