feat: Update build workflow to support manual triggering and tag creation events
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user