diff --git a/.github/workflows/tests-backend.yaml b/.github/workflows/tests-backend.yaml index 5f9dee7e..d0f00739 100644 --- a/.github/workflows/tests-backend.yaml +++ b/.github/workflows/tests-backend.yaml @@ -79,7 +79,7 @@ jobs: upload-coverage: runs-on: ubuntu-latest needs: test-backend - if: always() + if: needs['test-backend'].result == 'success' steps: - uses: actions/checkout@v4 - name: Download coverage artifacts diff --git a/.github/workflows/tests-frontend.yaml b/.github/workflows/tests-frontend.yaml index 2c7f3c88..0357eb64 100644 --- a/.github/workflows/tests-frontend.yaml +++ b/.github/workflows/tests-frontend.yaml @@ -57,7 +57,7 @@ jobs: upload-coverage: runs-on: ubuntu-latest needs: lint-test-frontend - if: always() + if: needs['lint-test-frontend'].result == 'success' steps: - uses: actions/checkout@v4 - name: Download coverage artifacts