Skip to content

Commit 64e6202

Browse files
authored
Merge branch 'main' into emf-exporter
2 parents 178085c + c776ce7 commit 64e6202

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
upload-main-build:
2626
runs-on: ubuntu-latest
2727
steps:
28+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #5.0.0
29+
2830
- name: Configure AWS Credentials
2931
uses: aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838 #5.0.0
3032
with:
@@ -36,7 +38,10 @@ jobs:
3638
name: aws-opentelemetry-agent.jar
3739

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

0 commit comments

Comments
 (0)