feat: Update build workflow to support manual triggering and tag creation events

This commit is contained in:
2026-04-08 18:07:11 +07:00
parent 080afb7e8c
commit 46b5d18868
+6
View File
@@ -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: