mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-11-19 13:17:17 +00:00
Add path filters for workflow triggers
Added path filters to trigger workflows only for changes in the 'src' folder.
This commit is contained in:
1 file changed
+6
-2
@@ -3,9 +3,13 @@ name: Build
|
||||
on:
|
||||
push:
|
||||
branches: [ main, dev ]
|
||||
paths:
|
||||
- 'src/**' # Only trigger when files in the 'src' folder change
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
paths:
|
||||
- 'src/**' # Apply same filter to pull requests
|
||||
|
||||
jobs:
|
||||
build-mod:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -31,4 +35,4 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: BetterAmongUs.dll
|
||||
path: src/bin/Release/net6.0/BetterAmongUs.dll
|
||||
path: src/bin/Release/net6.0/BetterAmongUs.dll
|
||||
Reference in new issue
Block a user