From 46b5d1886821f296590e2388c0332975f04ec0b2 Mon Sep 17 00:00:00 2001 From: virtus Date: Wed, 8 Apr 2026 18:07:11 +0700 Subject: [PATCH] feat: Update build workflow to support manual triggering and tag creation events --- .gitea/workflows/build-apk.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/build-apk.yml b/.gitea/workflows/build-apk.yml index bb35b2d..2e9237a 100644 --- a/.gitea/workflows/build-apk.yml +++ b/.gitea/workflows/build-apk.yml @@ -1,12 +1,18 @@ name: Build Android APK on: + workflow_dispatch: push: tags: - "v*" + create: jobs: build-apk: + if: | + (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')) || + (github.event_name == 'create' && github.ref_type == 'tag' && startsWith(github.ref, 'v')) || + github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest env: