From bbc9e9ec18f702b4236e34535be08a54d83ee825 Mon Sep 17 00:00:00 2001 From: Niveathika Date: Sat, 14 Sep 2024 13:00:20 +0530 Subject: [PATCH] Add connector names to report uploads --- .github/workflows/s4hana-build-connector-template.yml | 3 ++- .github/workflows/s4hana-pr-template.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/s4hana-build-connector-template.yml b/.github/workflows/s4hana-build-connector-template.yml index 94be9e10..922b6d52 100644 --- a/.github/workflows/s4hana-build-connector-template.yml +++ b/.github/workflows/s4hana-build-connector-template.yml @@ -91,6 +91,7 @@ jobs: - name: Upload coverage reports uses: actions/upload-artifact@v4 with: + name: ${{ matrix.directory }} path: ballerina/**/coverage-report.xml upload-codcov: @@ -99,7 +100,7 @@ jobs: needs: build-connectors steps: - name: Download coverage reports - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Generate Codecov Report uses: codecov/codecov-action@v3 diff --git a/.github/workflows/s4hana-pr-template.yml b/.github/workflows/s4hana-pr-template.yml index ea37da09..436f37d8 100644 --- a/.github/workflows/s4hana-pr-template.yml +++ b/.github/workflows/s4hana-pr-template.yml @@ -57,6 +57,7 @@ jobs: - name: Upload coverage reports uses: actions/upload-artifact@v4 with: + name: ${{ matrix.directory }} path: ballerina/**/coverage-report.xml upload-codcov: @@ -65,7 +66,7 @@ jobs: needs: build-connectors steps: - name: Download coverage reports - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Generate Codecov Report uses: codecov/codecov-action@v3