From 8f87dc356466ad3e3733d07e9a7efcfd1b9fd7e8 Mon Sep 17 00:00:00 2001 From: Jean-Luc Makiola Date: Sun, 28 Jun 2026 21:07:06 +0200 Subject: [PATCH] ci(fdroid): fix invalid YAML in the submodule-aware checkout steps The earlier submodule wiring left a mis-indented `with:` / `submodules: recursive` block under `uses: actions/checkout@v4` (and, in ci.yaml, a second stray `with:`), which made both workflows fail to parse ("mapping values are not allowed here"). Merge submodules into the single correctly-indented `with:` block so CI actually checks out floret-kit. Co-Authored-By: Claude Opus 4.8 (1M context) --- .gitea/workflows/ci.yaml | 3 +-- .gitea/workflows/release.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 1e68c6c..9f15571 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -26,11 +26,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - submodules: recursive with: # Full history so the base..HEAD diff below has a merge-base. fetch-depth: 0 + submodules: recursive # Cheap, always-on guard: the release build must stay reproducible for the # official F-Droid repo (no AGP VCS-info embedding). Runs regardless of diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 82826ea..166ab86 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -33,8 +33,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - submodules: recursive + with: + submodules: recursive - name: Resolve version and whether it is a new release id: v @@ -84,8 +84,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - submodules: recursive + with: + submodules: recursive - name: Setup Java uses: actions/setup-java@v4