diff --git a/provider/notification-aws/build-aws/buildspec.yaml b/provider/notification-aws/build-aws/buildspec.yaml index c0b2bafc01df92fa2e5df9d0faf2f12c607c7bda..f9e607cf66c9fe966f36ad6fb495d8c5d84880ed 100644 --- a/provider/notification-aws/build-aws/buildspec.yaml +++ b/provider/notification-aws/build-aws/buildspec.yaml @@ -30,7 +30,7 @@ env: phases: install: runtime-versions: - java: corretto8 + java: corretto17 commands: - if [ $(echo $CODEBUILD_SOURCE_VERSION | grep -c ^refs/heads.*) -eq 1 ]; then echo "Branch name found"; else echo "This build only supports branch builds" && exit 1; fi - java -version