Skip to content

Commit

Permalink
Prevent overwriting reports and artifacts.
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand committed Jan 19, 2023
1 parent fdaa1ee commit 26a2586
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sql-pitest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
if: always()
uses: actions/upload-artifact@v2
with:
name: test-reports
name: test-reports-${{ matrix.entry.java }}
path: |
core/build/reports/**
opensearch/build/reports/**
4 changes: 2 additions & 2 deletions .github/workflows/sql-test-and-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ jobs:
uses: actions/upload-artifact@v2
continue-on-error: true
with:
name: opensearch-sql-${{ matrix.entry.os }}
name: opensearch-sql-${{ matrix.entry.os }}-${{ matrix.entry.java }}
path: opensearch-sql-builds

- name: Upload test reports
if: ${{ always() && matrix.entry.os == 'ubuntu-latest' }}
uses: actions/upload-artifact@v2
continue-on-error: true
with:
name: test-reports
name: test-reports-${{ matrix.entry.os }}-${{ matrix.entry.java }}
path: |
sql/build/reports/**
ppl/build/reports/**
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sql-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
if: always()
uses: actions/upload-artifact@v2
with:
name: test-reports
name: test-reports-${{ matrix.entry.java }}
path: |
sql/build/reports/**
ppl/build/reports/**
Expand Down

0 comments on commit 26a2586

Please sign in to comment.