Skip to content

fix: Make fail: false effective even when failIfEmpty: true#1

Closed
YDX-2147483647 wants to merge 1 commit intomasterfrom
fail
Closed

fix: Make fail: false effective even when failIfEmpty: true#1
YDX-2147483647 wants to merge 1 commit intomasterfrom
fail

Conversation

@YDX-2147483647
Copy link
Owner

This commit also makes sure outputs.exit_code is “The exit code returned from Lychee”. failIfEmpty no longer changes it to 1.

Relevant docs:

Relates to lycheeverse#86, lycheeverse#128, lycheeverse#145, lycheeverse#245, and lycheeverse#251.

This commit also makes sure `outputs.exit_code` is “The exit code returned from Lychee”. `failIfEmpty` no longer changes it to `1`.

Relevant docs:
- [Setting exit codes for actions - GitHub Docs](https://docs.github.com/en/actions/sharing-automations/creating-actions/setting-exit-codes-for-actions)
- [exit - POSIX Programmer's Manual](https://manned.org/exit.1posix)

Relates to lycheeverse#86, lycheeverse#128, lycheeverse#145, lycheeverse#245, and lycheeverse#251.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant