Skip to content

Commit 51b57d6

Browse files
committed
Fix: Incorrect zip file name in Lambda Java release workflow
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.
1 parent d833e88 commit 51b57d6

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
@@ -210,10 +210,13 @@ jobs:
210210
done
211211
echo "}" >> ../layer_cdk
212212
cat ../layer_cdk
213-
- name: download layer.zip
213+
- name: download aws-opentelemetry-java-layer.zip
214214
uses: actions/download-artifact@v4
215215
with:
216-
name: layer.zip
216+
name: aws-opentelemetry-java-layer.zip
217+
- name: rename to layer.zip
218+
run: |
219+
mv aws-opentelemetry-java-layer.zip layer.zip
217220
- name: Get commit hash
218221
id: commit
219222
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)