Skip to content

Commit

Permalink
Cleanup log artifacts from possible previous failed build
Browse files Browse the repository at this point in the history
  • Loading branch information
lhotari committed Mar 30, 2022
1 parent 6a8656d commit e09f155
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pulsar-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ jobs:
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}
uses: apache/pulsar-test-infra/gh-actions-artifact-client/dist@master

- name: Cleanup log artifacts from possible previous failed build
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}
run: |
gh-actions-artifact-client.js delete "Unit-${{ matrix.group }}-surefire-reports" &>/dev/null || true
- name: Restore maven build results from Github artifact cache
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}
run: |
Expand Down Expand Up @@ -394,6 +399,12 @@ jobs:
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}
uses: apache/pulsar-test-infra/gh-actions-artifact-client/dist@master

- name: Cleanup log artifacts from possible previous failed build
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}
run: |
gh-actions-artifact-client.js delete "Integration-${{ matrix.group }}-surefire-reports" &>/dev/null || true
gh-actions-artifact-client.js delete "Integration-${{ matrix.group }}-container-logs" &>/dev/null || true
- name: Restore maven build results from Github artifact cache
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}
run: |
Expand Down Expand Up @@ -627,6 +638,12 @@ jobs:
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}
uses: apache/pulsar-test-infra/gh-actions-artifact-client/dist@master

- name: Cleanup log artifacts from possible previous failed build
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}
run: |
gh-actions-artifact-client.js delete "System-${{ matrix.group }}-surefire-reports" &>/dev/null || true
gh-actions-artifact-client.js delete "System-${{ matrix.group }}-container-logs" &>/dev/null || true
- name: Restore maven build results from Github artifact cache
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}
run: |
Expand Down

0 comments on commit e09f155

Please sign in to comment.