You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
env:
LOCAL_REPO: ${{ github.workspace }}# RECIPE is your recipe as written for MELPA:RECIPE: (selected-window-contrast :fetcher github :repo "Anoncheg1/selected-window-contrast")# set this to false (or remove it) if the package isn't on MELPA:# EXIST_OK: falserun: echo $GITHUB_REF && make -C ~/melpazoid
What should I set to make it error at any warning and crash Github Action run?
What customizations are possible?
The text was updated successfully, but these errors were encountered:
What should I set to make it error at any warning and crash Github Action run?
Currently there's no support for this - here's the current logic.
But it would be a pretty easy code change to make warnings turn into CI build failures (maybe behind some flag). I could see this being useful and I can look at building that in.
run: | echo $GITHUB_REF if make -C ~/melpazoid |& tee output.log; then if grep -q "Warning" output.log; then echo "Warnings detected, failing workflow" exit 1 fi else echo "Make command failed, failing workflow" exit 1 fi
That is how I use it:
https://github.com/Anoncheg1/selected-window-contrast/blob/main/.github/workflows/melpazoid.yml
What should I set to make it error at any warning and crash Github Action run?
What customizations are possible?
The text was updated successfully, but these errors were encountered: