Skip to content

Commit c631848

Browse files
committed
match exact artifact name
1 parent 8f01cfe commit c631848

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/application-signals-e2e-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ jobs:
3636
name: aws-opentelemetry-agent.jar
3737

3838
- name: Upload main-build adot.jar to s3
39-
run: aws s3 cp ./aws-opentelemetry-agent-*.jar s3://adot-main-build-staging-jar/aws-opentelemetry-agent.jar
39+
run: |
40+
# Extract artifact suffix using version.gradle.kts
41+
VERSION=$(awk -F'"' '/val adotVersion = / {print $2}' version.gradle.kts)
42+
aws s3 cp ./aws-opentelemetry-agent-$VERSION.jar s3://adot-main-build-staging-jar/aws-opentelemetry-agent.jar
4043
4144
#
4245
# PACKAGED DISTRIBUTION LANGUAGE VERSION COVERAGE

0 commit comments

Comments
 (0)