Skip to content

Commit

Permalink
fix(sonar-push.yml): update the action used to download test results …
Browse files Browse the repository at this point in the history
…artifact to use dawidd6/action-download-artifact@v2 (#119)

feat(sonar-push.yml): add path parameter to specify the target directory for downloaded artifact
  • Loading branch information
jandroav committed Oct 25, 2023
1 parent 4f32ad7 commit 10aa323
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/sonar-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,15 @@ jobs:
id: get-artifact-id
run: echo "artifact_id=$(mvn help:evaluate -Dexpression=project.artifactId -q -DforceStdout)" >> $GITHUB_ENV

- name: Download unit tests report
uses: actions/download-artifact@v3
- name: Download Test Results Artifact
id: download-artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.BOT_TOKEN}}
workflow: test.yml
name: test-reports-jdk-17-ubuntu-latest
repo: ${{ github.repository }}
path: ./target
if_no_artifact_found: warn
workflow_conclusion: ""

Expand Down

0 comments on commit 10aa323

Please sign in to comment.