Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LantaoJin opened this issue Jan 10, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@LantaoJin
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant