Skip to content

Commit

Permalink
[gha] consolidate artifact downloaders in prep to delete dup in diem/…
Browse files Browse the repository at this point in the history
…actions

Closes: aptos-labs#8539
  • Loading branch information
rexhoffman authored and bors-libra committed Jun 15, 2021
1 parent c4638a6 commit cae8b39
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci-test-complete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,19 @@ jobs:
steps:
- uses: actions/[email protected]
- name: Download artifacts
uses: diem/actions/download-artifacts@a5fa31ff2b54a544cd88ac912cda469742592e6c
uses: diem/actions/get-artifacts@a5fa31ff2b54a544cd88ac912cda469742592e6c
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
pattern: "^.*-test-results$"
extract: true
token: ${{ secrets.GITHUB_TOKEN }}
workflow_run_id: ${{ github.event.workflow_run.id }}
artifacts: "unit-test-results codegen-unit-test-results"
target_dir: ${{ github.workspace }}/downloads
decompress: true
- name: Publish unit test results
uses: diem/publish-unit-test-result-action@07dbf21c1095745d5149a54007f28231936c9da4
with:
commit: ${{ github.event.workflow_run.head_sha }}
check_name: Test results
files: "artifacts/*/**/*.xml"
files: "${{ github.workspace }}/downloads/*/**/*.xml"
# Don't comment on PRs at the moment: might be too noisy and the test deltas are incorrect:
# https://github.com/EnricoMi/publish-unit-test-result-action/issues/115
comment_on_pr: false
Expand Down

0 comments on commit cae8b39

Please sign in to comment.