Skip to content

Commit 637c24c

Browse files
committed
Run the process_addon only when addon status is uploaded
1 parent 9bbfab1 commit 637c24c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/webhook_process_addon.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ env:
2323
ASSET_BASE_ID: ${{ github.event.inputs.asset_base_id || github.event.client_payload.asset_base_id }}
2424

2525
jobs:
26-
test_matrix:
26+
test_addon_in_blender:
2727
runs-on: ubuntu-latest
28+
if: (github.event.inputs.verification_status == 'uploaded' || github.event.client_payload.verification_status == 'uploaded') && (github.event.inputs.is_private != 'true' && github.event.client_payload.is_private != 'true')
2829
strategy:
2930
matrix:
3031
version: [4.2, 4.3, 4.4, 4.5]
@@ -45,9 +46,9 @@ jobs:
4546
name: "blender-${{ matrix.version }}"
4647
path: "temp/test_addon_results.json"
4748

48-
aggregator:
49+
aggregate_results:
4950
name: Collect & Post Combined Results
50-
needs: test_matrix
51+
needs: test_addon_in_blender
5152
runs-on: ubuntu-latest
5253
steps:
5354
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)