fix: trigger APK build on push to main
Some checks failed
Build Android APK / build (push) Has been cancelled
Some checks failed
Build Android APK / build (push) Has been cancelled
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
name: Build Android APK
|
name: Build Android APK
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: ["Version Static Assets"]
|
workflows: ["Version Static Assets"]
|
||||||
types:
|
types:
|
||||||
@@ -14,9 +17,10 @@ permissions:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# Only run if triggered by workflow_dispatch or successful completion of version-assets
|
# Only run if triggered by workflow_dispatch, push to main, or successful completion of version-assets
|
||||||
if: >
|
if: >
|
||||||
github.event_name == 'workflow_dispatch' ||
|
github.event_name == 'workflow_dispatch' ||
|
||||||
|
github.event_name == 'push' ||
|
||||||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
|
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user