hsutter / cppfront

A personal experimental C++ Syntax 2 -> Syntax 1 compiler
Other
5.27k stars 225 forks source link

ci: upload patches #934

Closed JohelEGP closed 6 months ago

JohelEGP commented 6 months ago

For the result, see https://github.com/JohelEGP/cppfront/actions/runs/7505215700#artifacts.

gregmarr commented 6 months ago

Will this only upload if there are actually differences, or will it just upload an empty file if there are no differences?

JohelEGP commented 6 months ago

The former, according to the warning.

gregmarr commented 6 months ago

Ah, yes, missed that warning, though it would be nice if it weren't a warning at all.

# The desired behavior if no files are found using the provided path.
# Available Options:
#   warn: Output a warning but do not fail the action
#   error: Fail the action with an error message
#   ignore: Do not output any warnings or errors, the action does not fail
# Optional. Default is 'warn'
if-no-files-found:
hsutter commented 6 months ago

Thanks! All of this is unfamiliar to me, I appreciate the help.

gregmarr commented 6 months ago

@hsutter Unfortunately, this wasn't quite ready. Nothing breaking, just incomplete, and it can be addressed in a follow-up PR.