Skip to content

Commit 63c4156

Browse files
fix testspec.yaml
1 parent 5e9637d commit 63c4156

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

java-test-samples/java-appsync-sam/testspec.yml

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ phases:
99
java: corretto11
1010
commands:
1111
- cd ./java-appsync-sam
12+
pre_build:
13+
commands:
14+
- yum install java-17-amazon-corretto-devel -y
15+
- alternatives --set java /usr/lib/jvm/java-17-amazon-corretto.x86_64/bin/java
16+
- export JAVA_HOME=/usr/lib/jvm/java-17-amazon-corretto.x86_64
1217
build:
1318
commands:
1419
- echo Build started on `date`

0 commit comments

Comments
 (0)