From 55eab832d08abab90cde7302840e3e38e3aa73f3 Mon Sep 17 00:00:00 2001 From: Sirius DevOps Date: Sat, 12 Sep 2026 01:02:41 -0400 Subject: [PATCH] fix(ci): treat dry_run as a string; ignore stale apt Release dates Forgejo dispatch inputs are strings (boolean JSON 422s). bullseye-security InRelease looked expired on the dind clock; Check-Valid-Until=false. --- .forgejo/workflows/android-release.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/android-release.yml b/.forgejo/workflows/android-release.yml index 14311a8..76902a4 100644 --- a/.forgejo/workflows/android-release.yml +++ b/.forgejo/workflows/android-release.yml @@ -21,10 +21,10 @@ on: required: false type: string dry_run: - description: Build and checksum without creating a tag or publishing + description: Build and checksum without creating a tag or publishing (true/false) required: false - type: boolean - default: false + type: string + default: "false" workflow_call: inputs: tag: @@ -32,8 +32,8 @@ on: type: string dry_run: required: false - type: boolean - default: false + type: string + default: "false" concurrency: group: onionwire-android-release @@ -78,6 +78,7 @@ jobs: run: | set -euo pipefail cd "${GITHUB_WORKSPACE}" + echo "INPUT_DRY_RUN='${INPUT_DRY_RUN:-}' CALL_DRY_RUN='${CALL_DRY_RUN:-}' EVENT=${GITHUB_EVENT_NAME:-}" git fetch --tags --force origin || true input_tag="${INPUT_TAG:-}" dry_run=false @@ -129,7 +130,7 @@ jobs: fi ls /etc/apt/sources.list.d 2>/dev/null || true cat /etc/apt/sources.list || true - apt-get -o Acquire::Retries=3 -o Acquire::https::Timeout=60 update + apt-get -o Acquire::Retries=3 -o Acquire::https::Timeout=60 -o Acquire::Check-Valid-Until=false update apt-get install -y --no-install-recommends \ openjdk-17-jdk-headless python3 python3-minimal unzip curl ca-certificates \ file build-essential pkg-config git