File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 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 :
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
You can’t perform that action at this time.
0 commit comments