File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 99 build :
1010 name : Build - Windows
1111 runs-on : windows-latest
12+ env :
13+ R_VERSION : 4.4.2
1214 steps :
1315 - name : Install dependencies
1416 run : |
1517 choco install --no-progress -y haskell-stack
16- choco install --allow-downgrade --no-progress -y r --version 4.0.0
18+ choco install --allow-downgrade --no-progress -y r --version $env:R_VERSION
1719 - uses : actions/checkout@v4
1820 - name : Get Stack snapshot install directory
1921 id : stack-snapshot
3032 - name : Build
3133 run : |
3234 stack build inline-r H `
33- --extra-lib-dirs="C:/Program files/R/R-4.0.0 /bin/x64" `
34- --extra-include-dirs="C:/Program files/R/R-4.0.0 /include"
35+ --extra-lib-dirs="C:/Program files/R/R-$env:R_VERSION /bin/x64" `
36+ --extra-include-dirs="C:/Program files/R/R-$env:R_VERSION /include"
3537 test :
3638 name : Build & Test - ${{ matrix.os }} - ${{ matrix.stack_yaml }}
3739 strategy :
You can’t perform that action at this time.
0 commit comments