Skip to content

Commit 51ada97

Browse files
committed
fix(apps): build conditional logic
1 parent daf6d5c commit 51ada97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/apps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
7171
build_and_push:
7272
needs: [check_changes]
73-
if: ${{ github.repository_owner == 'CubeCoders' && github.ref == 'refs/heads/master' && (github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success') }}
73+
if: ${{ github.repository_owner == 'CubeCoders' && github.ref == 'refs/heads/master' && (github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success') && needs.check_changes.outputs.apps_json != '[]' }}
7474
name: 'amp:apps-${{ matrix.app }}'
7575
runs-on: ubuntu-latest
7676
strategy:

0 commit comments

Comments
 (0)