From 0e89c516021cc3d31007f60fef82e0add5e8bbc8 Mon Sep 17 00:00:00 2001 From: docker-images Date: Sun, 27 Jul 2025 23:16:07 +0200 Subject: [PATCH] Update .forgejo/workflows/build.yml --- .forgejo/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 63ffe4f..c9880b1 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -19,6 +19,7 @@ jobs: COMMIT_MESSAGE: "Update build metadata" GET_NEWEST_VERSION_CMD: "curl https://api.github.com/repos/monero-project/monero/tags | jq -r .[0].name" GIT_REPO_URL: "https://github.com/monero-project/monero" + REBUILD_ALL_X_DAYS: 14 steps: - name: Install dependencies @@ -46,7 +47,7 @@ jobs: current_day=$(( $(date +%s) / 86400 )) update="false" - if [ ${{ github.event_name }} == "workflow_dispatch" ] || [ "$last_version" != "$NEWEST_VERSION" ] || [ $((current_day - last_rebuild)) -gt 14 ]; then + if [ ${{ github.event_name }} == "workflow_dispatch" ] || [ "$last_version" != "$NEWEST_VERSION" ] || [ $((current_day - last_rebuild)) -gt "$REBUILD_ALL_X_DAYS" ]; then update="true" fi