mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-19 15:51:52 +00:00
Enhance branch filters in build workflow
This commit is contained in:
1 file changed
+12
-4
@@ -2,13 +2,21 @@ name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main, dev ]
|
||||
branches:
|
||||
- 'main'
|
||||
- '*-hotfix'
|
||||
- '*-beta'
|
||||
- '*-dev'
|
||||
paths:
|
||||
- 'src/**' # Only trigger when files in the 'src' folder change
|
||||
- 'src/**'
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
branches:
|
||||
- 'main'
|
||||
- '*-hotfix'
|
||||
- '*-beta'
|
||||
- '*-dev'
|
||||
paths:
|
||||
- 'src/**' # Apply same filter to pull requests
|
||||
- 'src/**'
|
||||
|
||||
jobs:
|
||||
build-mod:
|
||||
|
||||
Reference in new issue
Block a user