Skip to content

[CI][2.x] Artifacts to upload should include the java version in its name #3238

@LantaoJin

Description

@LantaoJin

What is the bug?

Run actions/upload-artifact@v4
with:
name: opensearch-sql-macos-13
path: opensearch-sql-builds
if-no-files-found: warn
compression-level: 6
overwrite: false
include-hidden-files: false
env:
JAVA_HOME: /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.5-11.0/x64/Contents/Home
JAVA_HOME_21_X64: /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.5-11.0/x64/Contents/Home
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run

The name in Java 11 should be name: opensearch-sql-macos-13-11 and in Java 21 should be name: opensearch-sql-macos-13-21 to avoid conflicts

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinginfrastructureChanges to infrastructure, testing, CI/CD, pipelines, etc.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions