Skip to content

Commit

Permalink
[CI] Don't try to upload stats when native-tests are not ran
Browse files Browse the repository at this point in the history
Prevents the upload step from failing and creating extra noise.
  • Loading branch information
zakkak committed Dec 5, 2023
1 parent 6ec57b8 commit 55b3997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ jobs:
native-tests-stats-upload:
name: Upload build stats to collector
if: ${{ always() && inputs.build-stats-tag != 'null' && github.event_name != 'pull_request' }}
if: ${{ always() && inputs.build-stats-tag != 'null' && github.event_name != 'pull_request' && needs.native-tests.result != 'skipped' && needs.native-tests.result != 'cancelled' }}
needs:
- native-tests
- get-test-matrix
Expand Down

0 comments on commit 55b3997

Please sign in to comment.