Bump to check CI/CD
Some checks failed
Android Release / release (push) Failing after 5m16s

This commit is contained in:
2026-01-18 19:28:22 +03:00
parent 5684eb62b2
commit 6f5168bc27
4 changed files with 45 additions and 2 deletions

View File

@@ -107,3 +107,36 @@ jobs:
Android release ${{ steps.stop.outputs.version }}
files: |
app/build/outputs/apk/release/*.apk
- name: Prepare F-Droid Repo
if: steps.stop.outputs.continue == 'true'
run: |
mkdir -p /tmp/fdroid-repo
cp app/build/outputs/apk/release/*.apk /tmp/fdroid-repo/
cp fdroid/config.yml /tmp/fdroid-repo/config.yml
cp fdroid/icon.png /tmp/fdroid-repo/icon.png
# -----------------------------
# 9. Обновляем F-Droid репозиторий
# -----------------------------
- name: Update F-Droid Repo
if: steps.stop.outputs.continue == 'true'
run: |
docker run --rm \
-v /tmp/fdroid-repo:/fdroid \
-e FDROID_CONFIG_FILE=/fdroid/config.yml \
registry.gitlab.com/fdroid/docker-executable-fdroidserver:latest \
sh -c "fdroid update && fdroid deploy"
# -----------------------------
# 10. Пушим изменения в F-Droid репо
# -----------------------------
- name: Commit & Push to F-Droid Repo
if: steps.stop.outputs.continue == 'true'
run: |
cd /tmp/fdroid-repo
git init
git remote add origin https://git.daemonlord.ru/fdroid/repo.git
git add .
git commit -m "Update APKs for ${{ steps.version.outputs.version }}"
git push -f origin master