Skip to content

Commit aabd5b2

Browse files
authored
Fix: Incorrect zip file name in Lambda Java release workflow (#1208) (#1210)
Problem: The Lambda Java layer release fails because the workflow uses the wrong artifact (layer zip file) name. https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/17867947751 Solution: Rename aws-opentelemetry-java-layer.zip to layer.zip. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 551937d commit aabd5b2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release-lambda.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,13 @@ jobs:
206206
done
207207
echo "}" >> ../layer_cdk
208208
cat ../layer_cdk
209-
- name: download layer.zip
209+
- name: download aws-opentelemetry-java-layer.zip
210210
uses: actions/download-artifact@v5
211211
with:
212-
name: layer.zip
212+
name: aws-opentelemetry-java-layer.zip
213+
- name: rename to layer.zip
214+
run: |
215+
mv aws-opentelemetry-java-layer.zip layer.zip
213216
- name: Get commit hash
214217
id: commit
215218
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)