mirror of
https://github.com/Dasemu/web-imposter-game.git
synced 2026-11-27 07:46:39 +00:00
fix: trigger APK build on push to main
This commit is contained in:
1 parent
830af0d212
commit
67333c114c
1 file changed
+5
-1
@@ -1,6 +1,9 @@
|
||||
name: Build Android APK
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_run:
|
||||
workflows: ["Version Static Assets"]
|
||||
types:
|
||||
@@ -14,9 +17,10 @@ permissions:
|
||||
jobs:
|
||||
build:
|
||||
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: >
|
||||
github.event_name == 'workflow_dispatch' ||
|
||||
github.event_name == 'push' ||
|
||||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
|
||||
|
||||
steps:
|
||||
|
||||
Reference in new issue
Block a user