Skip to content

Commit

Permalink
add overwrite as true
Browse files Browse the repository at this point in the history
Signed-off-by: Hailong Cui <[email protected]>
  • Loading branch information
Hailong-am committed Sep 14, 2024
1 parent 4ad501c commit 5e2f873
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/bwc-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ jobs:
if: failure()
with:
name: logs
overwrite: 'true'
path: build/testclusters/indexmanagementBwcCluster*/logs/*
2 changes: 2 additions & 0 deletions .github/workflows/docker-security-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ jobs:
if: failure()
with:
name: logs
overwrite: 'true'
path: build/testclusters/integTest-*/logs/*
- name: Collect docker logs on failure
uses: jwalton/gh-docker-logs@v2
Expand All @@ -100,4 +101,5 @@ jobs:
if: failure()
with:
name: logs.tgz
overwrite: 'true'
path: ./logs.tgz
1 change: 1 addition & 0 deletions .github/workflows/multi-node-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ jobs:
if: failure()
with:
name: logs
overwrite: 'true'
path: build/testclusters/integTest-*/logs/*
1 change: 1 addition & 0 deletions .github/workflows/security-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ jobs:
if: failure()
with:
name: logs
overwrite: 'true'
path: build/testclusters/integTest-*/logs/*
8 changes: 5 additions & 3 deletions .github/workflows/test-and-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: logs
name: logs-${{ matrix.java }}-${{ matrix.feature }}
path: build/testclusters/integTest-*/logs/*
- name: Create Artifact Path
run: |
Expand All @@ -73,8 +73,9 @@ jobs:
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: index-management-plugin-ubuntu-latest
name: index-management-plugin-ubuntu-latest-${{ matrix.java }}
path: index-management-artifacts
overwrite: 'true'

test-and-build-windows-macos:
env:
Expand Down Expand Up @@ -129,5 +130,6 @@ jobs:
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: index-management-plugin-${{ matrix.os }}
name: index-management-plugin-${{ matrix.os }}-${{ matrix.java }}
path: index-management-artifacts
overwrite: 'true'

0 comments on commit 5e2f873

Please sign in to comment.