diff options
author | Paul Spooren <mail@aparcar.org> | 2021-03-12 07:56:36 +0300 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-03-12 22:00:44 +0300 |
commit | ef9e481720c4bdf5d37db5da21604de655f4842a (patch) | |
tree | 48cfbbb6d080c17e67b5a8431e21c1af1f01303f | |
parent | 967d515aa4953ad3c698ea639b66bde29390b07d (diff) |
Allow to disable patch refresh checkv1
Signed-off-by: Paul Spooren <mail@aparcar.org>
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | action.yml | 1 | ||||
-rwxr-xr-x | entrypoint.sh | 2 |
3 files changed, 3 insertions, 1 deletions
@@ -58,4 +58,5 @@ The action reads a few env variables: `action`. * `IGNORE_ERRORS` can ignore failing packages builds. * `KEY_BUILD` can be a private Signify/`usign` key to sign the packages feed. +* `NO_REFRESH_CHECK` disable check if patches need a refresh. * `V` changes the build verbosity level. @@ -15,6 +15,7 @@ runs: --env GITHUB_WORKSPACE \ --env IGNORE_ERRORS \ --env KEY_BUILD \ + --env NO_REFRESH_CHECK \ --env PACKAGES \ --env V \ --workdir /github/workspace \ diff --git a/entrypoint.sh b/entrypoint.sh index 471863a..8a9f8c6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -65,7 +65,7 @@ else fi PATCHES_DIR=$(find "$GITHUB_WORKSPACE" -path "*/$PKG/patches") - if [ -d "$PATCHES_DIR" ]; then + if [ -d "$PATCHES_DIR" ] && [ -z "$NO_REFRESH_CHECK" ]; then make \ BUILD_LOG="$BUILD_LOG" \ IGNORE_ERRORS="$IGNORE_ERRORS" \ |