diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index d4b50538..19f85d05 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -15,23 +15,18 @@ jobs: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' steps: - - name: Create artifacts names - shell: bash - run: | - ARTIFACTS_SHA=$(git rev-parse HEAD) - COV_ARTIFACTS=coverage_${ARTIFACTS_SHA} - - - name: Download coverage artifact - uses: dawidd6/action-download-artifact@v6 + - name: 'Download artifact' + uses: actions/download-artifact@v4 with: - github_token: ${{ secrets.GITHUB_TOKEN }} - workflow: build.yml - name: ${{ env.COV_ARTIFACTS }} + path: build/coverage_xml.xml + pattern: coverage + github-token: ${{ secrets.GH_PAT }} + run-id: ${{ github.event.workflow_run.id }} - name: coverage uses: 5monkeys/cobertura-action@master with: - path: coverage_xml.xml + path: build/coverage_xml.xml minimum_coverage: 75 show_line: true show_branch: true