[CI] Add branch specific rule for codecov upload (#19736)

This commit is contained in:
Mac Siri 2023-07-12 09:08:50 -04:00 committed by GitHub
parent 0b7545b2a4
commit 290b9bd775
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -427,27 +427,27 @@ jobs:
with: |
flags: ruby
directory: coverage/simplecov
fail_ci_if_error: true
fail_ci_if_error: ${{ github.ref != 'refs/heads/main' }}
attempt_limit: 5
attempt_delay: 10000
attempt_delay: 30000
- uses: Wandalen/wretry.action@master
with:
action: codecov/codecov-action@v3
with: |
flags: jest, javascript
directory: coverage/jest
fail_ci_if_error: true
fail_ci_if_error: ${{ github.ref != 'refs/heads/main' }}
attempt_limit: 5
attempt_delay: 10000
attempt_delay: 30000
- uses: Wandalen/wretry.action@master
with:
action: codecov/codecov-action@v3
with: |
flags: cypress, javascript
directory: coverage/cypress
fail_ci_if_error: true
fail_ci_if_error: ${{ github.ref != 'refs/heads/main' }}
attempt_limit: 5
attempt_delay: 10000
attempt_delay: 30000
CI-status-report:
runs-on: ubuntu-latest