nspcc-dev / gh-push-to-neofs

GitHub action to push things into NeoFS
MIT License
7 stars 2 forks source link

Multiple failing strategies support in case of files not found #5

Open AnnaShaleva opened 1 year ago

AnnaShaleva commented 1 year ago

Is your feature request related to a problem? Please describe.

It's relevant for all actions that use files. Currently the failing strategy if files not found is to immediately return the error and stop the action. It may not to be the desired behaviour. E.g. artifact uploading action default strategy is to continue its work and succeed in the end.

Describe the solution you'd like

It may be a good idea to consider implementing different failing strategies like it is done in https://github.com/actions/upload-artifact/blob/a8a3f3ad30e3422c9c7b888a15615d19a852ae32/action.yml#L11.