Skip to content

Commit bcc102e

Browse files
ci: enforce dynamic path detection on build-android job to only trigger when mobile/ files change
1 parent c4790b6 commit bcc102e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release-latest.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,10 @@ jobs:
437437
runs-on: ubuntu-latest
438438
permissions:
439439
contents: write
440+
if: |
441+
contains(github.event.commits[0].modified, 'mobile/') ||
442+
contains(github.event.commits[0].added, 'mobile/') ||
443+
github.event_name == 'workflow_dispatch'
440444
steps:
441445
- uses: actions/checkout@v4
442446

0 commit comments

Comments
 (0)