Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Uploading artifacts that don't exist doesn't cause an error #62

Closed
eyal0 opened this issue Jan 5, 2021 · 1 comment · Fixed by #63 · May be fixed by #387 or #388
Closed

Uploading artifacts that don't exist doesn't cause an error #62

eyal0 opened this issue Jan 5, 2021 · 1 comment · Fixed by #63 · May be fixed by #387 or #388
Labels
automatic-releases enhancement New feature or request

Comments

@eyal0
Copy link
Contributor

eyal0 commented Jan 5, 2021

I mistakenly didn't spell an artifact file correctly in the files argument to action-automatic-releases. I expected that there would be an error but instead, nothing happened and no assets were uploaded.

@eyal0
Copy link
Contributor Author

eyal0 commented Jan 5, 2021

I see why this is happening. It's because a glob is being used and the blog can report no elements. I think that it would be more intuitive to have a behavior similar to Unix tools like ls: If the glob has 0 results, return an error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.