[SPARK-28920][INFRA] Set up java version for github workflow
[SPARK-28920][INFRA] Set up java version for github workflow

This patch adds java version parameter to GitHub workflow conf for JDK8/11.

As we want to build JDK8/11 on GitHub workflow, we might need to add java version according current matrix.

No

See the GitHub workflow run result.

Closes #25625 from viirya/github-workflow-java.

Authored-by: Liang-Chi Hsieh <56d6f1a570b23ccf100f962eeec2ef1658eed1f8@uber.com>
Signed-off-by: Dongjoon Hyun <9b02cb7e37158797a8e22c559f7c5f5ecd28ea57@apple.com>

xuanyuanking/spark,zero323/spark,shaneknapp/spark,JoshRosen/spark,jiangxb1987/spark,HyukjinKwon/spark,mahak/spark,dongjoon-hyun/spark,wangmiao1981/spark,JoshRosen/spark,rezasafi/spark,gengliangwang/spark,WeichenXu123/spark,jkbradley/spark,rezasafi/spark,bdrillard/spark,JoshRosen/spark,dbtsai/spark,rednaxelafx/apache-spark,bdrillard/spark,vinodkc/spark,milliman/spark,pgandhi999/spark,zero323/spark,rednaxelafx/apache-spark,dongjoon-hyun/spark,darionyaphet/spark,gengliangwang/spark,milliman/spark,zero323/spark,pgandhi999/spark,zzcclp/spark,spark-test/spark,bdrillard/spark,bdrillard/spark,WeichenXu123/spark,dbtsai/spark,skonto/spark,spark-test/spark,skonto/spark,nchammas/spark,milliman/spark,HyukjinKwon/spark,caneGuy/spark,WeichenXu123/spark,ptkool/spark,witgo/spark,rezasafi/spark,zero323/spark,shaneknapp/spark,shuangshuangwang/spark,hvanhovell/spark,witgo/spark,vinodkc/spark,WeichenXu123/spark,jiangxb1987/spark,BryanCutler/spark,wzhfy/spark,zzcclp/spark,srowen/spark,bdrillard/spark,apache/spark,kevinyu98/spark,jkbradley/spark,xuanyuanking/spark,darionyaphet/spark,wangyum/spark,kevinyu98/spark,spark-test/spark,shuangshuangwang/spark,srowen/spark,spark-test/spark,darionyaphet/spark,nchammas/spark,ConeyLiu/spark,jkbradley/spark,darionyaphet/spark,gengliangwang/spark,ueshin/apache-spark,zuotingbing/spark,cloud-fan/spark,jkbradley/spark,shaneknapp/spark,witgo/spark,taroplus/spark,rezasafi/spark,jiangxb1987/spark,wzhfy/spark,chuckchen/spark,ConeyLiu/spark,maropu/spark,witgo/spark,ptkool/spark,srowen/spark,taroplus/spark,jiangxb1987/spark,maropu/spark,pgandhi999/spark,BryanCutler/spark,jkbradley/spark,mahak/spark,wangmiao1981/spark,cloud-fan/spark,ConeyLiu/spark,wzhfy/spark,zuotingbing/spark,ptkool/spark,caneGuy/spark,mahak/spark,dbtsai/spark,chuckchen/spark,zero323/spark,rednaxelafx/apache-spark,chuckchen/spark,pgandhi999/spark,cloud-fan/spark,xuanyuanking/spark,holdenk/spark,apache/spark,maropu/spark,zero323/spark,HyukjinKwon/spark,JoshRosen/spark,gengliangwang/spark,skonto/spark,holdenk/spark,wangyum/spark,HyukjinKwon/spark,wangmiao1981/spark,srowen/spark,wangmiao1981/spark,spark-test/spark,caneGuy/spark,taroplus/spark,dbtsai/spark,cloud-fan/spark,WeichenXu123/spark,JoshRosen/spark,rednaxelafx/apache-spark,witgo/spark,dongjoon-hyun/spark,WeichenXu123/spark,xuanyuanking/spark,HyukjinKwon/spark,HyukjinKwon/spark,milliman/spark,shaneknapp/spark,ptkool/spark,taroplus/spark,pgandhi999/spark,goldmedal/spark,vinodkc/spark,srowen/spark,mahak/spark,hvanhovell/spark,hvanhovell/spark,wangyum/spark,xuanyuanking/spark,zzcclp/spark,milliman/spark,JoshRosen/spark,caneGuy/spark,vinodkc/spark,caneGuy/spark,nchammas/spark,vinodkc/spark,chuckchen/spark,wangmiao1981/spark,wangyum/spark,JoshRosen/spark,dongjoon-hyun/spark,BryanCutler/spark,vinodkc/spark,pgandhi999/spark,shaneknapp/spark,ueshin/apache-spark,nchammas/spark,spark-test/spark,dongjoon-hyun/spark,apache/spark,darionyaphet/spark,ueshin/apache-spark,holdenk/spark,mahak/spark,milliman/spark,ueshin/apache-spark,rednaxelafx/apache-spark,goldmedal/spark,wangyum/spark,jiangxb1987/spark,bdrillard/spark,vinodkc/spark,chuckchen/spark,goldmedal/spark,goldmedal/spark,skonto/spark,skonto/spark,wzhfy/spark,dongjoon-hyun/spark,maropu/spark,holdenk/spark,goldmedal/spark,wzhfy/spark,cloud-fan/spark,wzhfy/spark,kevinyu98/spark,apache/spark,mahak/spark,zuotingbing/spark,kevinyu98/spark,witgo/spark,darionyaphet/spark,zuotingbing/spark,ConeyLiu/spark,rezasafi/spark,BryanCutler/spark,ptkool/spark,HyukjinKwon/spark,ConeyLiu/spark,rezasafi/spark,holdenk/spark,jkbradley/spark,shuangshuangwang/spark,zero323/spark,wangmiao1981/spark,zuotingbing/spark,taroplus/spark,matthewfranglen/spark,nchammas/spark,milliman/spark,shuangshuangwang/spark,BryanCutler/spark,ueshin/apache-spark,BryanCutler/spark,dbtsai/spark,maropu/spark,zuotingbing/spark,goldmedal/spark,zzcclp/spark,rednaxelafx/apache-spark,shuangshuangwang/spark,kevinyu98/spark,wzhfy/spark,gengliangwang/spark,caneGuy/spark,jkbradley/spark,hvanhovell/spark,BryanCutler/spark,apache/spark,ueshin/apache-spark,WeichenXu123/spark,cloud-fan/spark,kevinyu98/spark,bdrillard/spark,shaneknapp/spark,holdenk/spark,spark-test/spark,cloud-fan/spark,mahak/spark,jiangxb1987/spark,taroplus/spark,shuangshuangwang/spark,caneGuy/spark,chuckchen/spark,ConeyLiu/spark,ConeyLiu/spark,pgandhi999/spark,ueshin/apache-spark,dongjoon-hyun/spark,ptkool/spark,zzcclp/spark,wangyum/spark,holdenk/spark,goldmedal/spark,zuotingbing/spark,apache/spark,darionyaphet/spark,xuanyuanking/spark,shuangshuangwang/spark,maropu/spark,gengliangwang/spark,hvanhovell/spark,dbtsai/spark,hvanhovell/spark,jiangxb1987/spark,shaneknapp/spark,zzcclp/spark,wangyum/spark,zzcclp/spark,srowen/spark,srowen/spark,kevinyu98/spark,gengliangwang/spark,rednaxelafx/apache-spark,rezasafi/spark,skonto/spark,hvanhovell/spark,maropu/spark,ptkool/spark,dbtsai/spark,witgo/spark,taroplus/spark,apache/spark,nchammas/spark,chuckchen/spark,skonto/spark,xuanyuanking/spark,wangmiao1981/spark,nchammas/spark