Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/gh-action-sdk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2021-03-12 07:56:36 +0300
committerPaul Spooren <mail@aparcar.org>2021-03-12 22:00:44 +0300
commitef9e481720c4bdf5d37db5da21604de655f4842a (patch)
tree48cfbbb6d080c17e67b5a8431e21c1af1f01303f
parent967d515aa4953ad3c698ea639b66bde29390b07d (diff)
Allow to disable patch refresh checkv1
Signed-off-by: Paul Spooren <mail@aparcar.org>
-rw-r--r--README.md1
-rw-r--r--action.yml1
-rwxr-xr-xentrypoint.sh2
3 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 01a8162..53989cf 100644
--- a/README.md
+++ b/README.md
@@ -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.
diff --git a/action.yml b/action.yml
index 792e801..2df6cc2 100644
--- a/action.yml
+++ b/action.yml
@@ -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" \