Skip to content

Commit 44f7e6b

Browse files
committed
👷 ci(workflow): update build condition for automation changes
- modify build condition to trigger when automation files change
1 parent 45bd096 commit 44f7e6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,8 @@ jobs:
351351
runs-on: windows-latest
352352
needs: Setup
353353
# Build app only when src has changed
354-
if: ${{ success() && needs.Setup.outputs.HasChanged_src == 'true' }}
354+
if: ${{ success() && (needs.Setup.outputs.HasChanged_src == 'true' || needs.Setup.outputs.HasChanged_automation == 'true') }}
355+
355356
env:
356357
solution: '**/*.sln'
357358
buildPlatform: 'Any CPU'

0 commit comments

Comments
 (0)