File tree Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -11,30 +11,37 @@ jobs:
1111 strategy :
1212 fail-fast : false
1313 matrix :
14- os : [ 'windows-latest ', 'macOS-10.15', 'ubuntu-20.04' ]
14+ os : [ 'windows-2022 ', 'macOS-10.15', 'ubuntu-20.04' ]
1515 r : [ 'release' ]
1616 java : [ 8, 11 ]
1717
1818 steps :
19- - uses : actions/checkout@v1
19+ - uses : actions/checkout@v2
2020
21- - uses : r-lib/actions/setup-r@master
21+ - name : Install R
22+ uses : s-u/R-actions/install@v1
2223 with :
2324 r-version : ${{ matrix.r }}
25+ tools : base
2426
2527 - uses : actions/setup-java@v1
2628 with :
2729 java-version : ${{ matrix.java }}
2830
2931 - name : Build
30- run : " sh mkdist "
31-
32- - name : Info
33- run : " bash -c 'java -version && which java && echo $PATH && echo $JAVA_HOME' "
32+ run : |
33+ sh mkdist
34+ java -version && which java && echo $PATH && echo $JAVA_HOME
35+ shell : bash
3436
3537 - name : Setup R Java support
3638 if : runner.os != 'Windows'
37- run : " echo export PATH=$PATH > reconf.sh; echo export JAVA_HOME=$JAVA_HOME >> reconf.sh; echo R CMD javareconf >> reconf.sh; sudo bash reconf.sh"
39+ run : |
40+ echo export PATH=$PATH > reconf.sh
41+ echo export JAVA_HOME=$JAVA_HOME >> reconf.sh
42+ echo R CMD javareconf >> reconf.sh
43+ sudo bash reconf.sh
44+ shell : bash
3845
3946 - name : R CMD check (Windows)
4047 if : runner.os == 'Windows'
You can’t perform that action at this time.
0 commit comments