Skip to content

Commit

Permalink
Make the name of the java wrapper artifact consistent (#1486)
Browse files Browse the repository at this point in the history
This has to be done so that the release workflow works properly

Signed-off-by: Raphael Silva <[email protected]>
  • Loading branch information
rapphil authored Aug 22, 2024
1 parent 3a56dda commit dc1440a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit dc1440a

Please sign in to comment.