From b7c37e209b5e9b57f4d8b0f9383cf721c340a68b Mon Sep 17 00:00:00 2001 From: Lantao Jin Date: Fri, 10 Jan 2025 11:31:02 +0800 Subject: [PATCH] Artifacts to upload should include the java version in its name to avoid conflicts Signed-off-by: Lantao Jin --- .github/workflows/sql-test-and-build-workflow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sql-test-and-build-workflow.yml b/.github/workflows/sql-test-and-build-workflow.yml index 92089589e0..b04e3af0c0 100644 --- a/.github/workflows/sql-test-and-build-workflow.yml +++ b/.github/workflows/sql-test-and-build-workflow.yml @@ -78,7 +78,7 @@ jobs: - name: Upload Artifacts uses: actions/upload-artifact@v3 with: - name: opensearch-sql-ubuntu-latest + name: opensearch-sql-ubuntu-latest-${{ matrix.java }} path: opensearch-sql-builds - name: Upload test reports @@ -86,7 +86,7 @@ jobs: uses: actions/upload-artifact@v3 continue-on-error: true with: - name: test-reports + name: test-reports-ubuntu-latest-${{ matrix.java }} path: | sql/build/reports/** ppl/build/reports/** @@ -132,5 +132,5 @@ jobs: - name: Upload Artifacts uses: actions/upload-artifact@v3 with: - name: opensearch-sql-${{ matrix.entry.os }} + name: opensearch-sql-${{ matrix.entry.os }}-${{ matrix.entry.java }} path: opensearch-sql-builds