Skip to content

Fix Java release workflow - Make the name of the java wrapper artifact consistent #1486

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

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/layer-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call:
inputs:
artifact-name:
description: 'This should correspond to a actions/upload-artifact name earlier in the build.'
description: 'This should correspond to a actions/upload-artifact name earlier in the build. The file name and the name of the artifact containing it must be equal.'
required: true
type: string
layer-name:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-layer-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
name: Save javawrapper layer to build
with:
name: opentelemetry-javawrapper-layer.zip
path: java/layer-wrapper/build/distributions/opentelemetry-java-wrapper.zip
path: java/layer-wrapper/build/distributions/opentelemetry-javawrapper-layer.zip

- name: Save Javaagent Version
id: save-javaagent-version
Expand Down
2 changes: 1 addition & 1 deletion java/layer-wrapper/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies {

tasks {
val createLayer by registering(Zip::class) {
archiveFileName.set("opentelemetry-java-wrapper.zip")
archiveFileName.set("opentelemetry-javawrapper-layer.zip")
destinationDirectory.set(file("$buildDir/distributions"))

from(configurations["runtimeClasspath"]) {
Expand Down
Loading