4949 exit 1
5050 fi
5151 echo "Main build succeeded, proceeding with release"
52- - uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
52+ - uses : actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
5353 with :
5454 java-version-file : .java-version
5555 distribution : ' temurin'
@@ -202,9 +202,9 @@ jobs:
202202 - name : Checkout Repo @ SHA - ${{ github.sha }}
203203 uses : actions/checkout@v5
204204
205- - uses : actions/setup-java@v4
205+ - uses : actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
206206 with :
207- java-version : 17
207+ java-version-file : .java-version
208208 distribution : ' temurin'
209209
210210 - name : Build layers
@@ -257,7 +257,7 @@ jobs:
257257 echo BUCKET_NAME=java-lambda-layer-${{ github.run_id }}-${{ matrix.aws_region }} | tee --append $GITHUB_ENV
258258
259259 - name : download layer.zip
260- uses : actions/download-artifact@v4
260+ uses : actions/download-artifact@v5
261261 with :
262262 name : aws-opentelemetry-java-layer.zip
263263
@@ -269,7 +269,7 @@ jobs:
269269 aws lambda publish-layer-version \
270270 --layer-name ${{ env.LAYER_NAME }} \
271271 --content S3Bucket=${{ env.BUCKET_NAME }},S3Key=aws-opentelemetry-java-layer.zip \
272- --compatible-runtimes java17 java21 \
272+ --compatible-runtimes java11 java17 java21 \
273273 --compatible-architectures "arm64" "x86_64" \
274274 --license-info "Apache-2.0" \
275275 --description "AWS Distro of OpenTelemetry Lambda Layer for Java Runtime" \
@@ -315,7 +315,7 @@ jobs:
315315 uses : actions/checkout@v5
316316 - uses : hashicorp/setup-terraform@v2
317317 - name : download layerARNs
318- uses : actions/download-artifact@v4
318+ uses : actions/download-artifact@v5
319319 with :
320320 pattern : ${{ env.LAYER_NAME }}-*
321321 path : ${{ env.LAYER_NAME }}
@@ -364,7 +364,7 @@ jobs:
364364 echo "}" >> ../layer_cdk
365365 cat ../layer_cdk
366366 - name : download layer.zip
367- uses : actions/download-artifact@v4
367+ uses : actions/download-artifact@v5
368368 with :
369369 name : aws-opentelemetry-java-layer.zip
370370 - name : Rename layer file
0 commit comments