Skip to content

Commit

Permalink
Merge pull request #732 from anuruddhal/native
Browse files Browse the repository at this point in the history
Update AWS Lambda layers to JDK 21
  • Loading branch information
anuruddhal authored Nov 22, 2024
2 parents 11766ad + d89b074 commit b318578
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-layer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
run: |
bucketName="${TEMP_BUCKET_NAME}-${{ matrix.region }}-${{ GITHUB.RUN_NUMBER }}"
cd ballerina-layer
wget https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.7%2B7/OpenJDK17U-jre_x64_linux_hotspot_17.0.7_7.tar.gz -O openjre.tar.gz
wget https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_x64_linux_hotspot_21.0.5_11.tar.gz -O openjre.tar.gz
tar -xvzf openjre.tar.gz
mv jdk-17.0.7+7-jre jdk
mv jdk-21.0.5+11-jre jdk
zip -r layer.zip jdk bootstrap
if [[ "${{ matrix.region }}" == "us-east-1" ]]; then
aws s3api create-bucket --bucket $bucketName --region ${{ matrix.region }}
Expand Down

0 comments on commit b318578

Please sign in to comment.