Skip to content

Commit 74fc8f1

Browse files
committed
try using $env:GITHUB_OUTPUT
1 parent fe3d74e commit 74fc8f1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ jobs:
3333
- run: Rscript -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
3434
- run: Rscript -e 'library(utils)'
3535
#- run: Rscript -e 'pak::pkg_install(c("any::ggplot2","any::RcppArmadillo","any::dtwclust"), upgrade = FALSE)' # TODO uncomment when solved R_HOME and utils package
36-
- run: R_HOME=$(R RHOME)
3736
- run: |
38-
echo "::set-output name=r_home::$R_HOME"
37+
echo R_HOME=$(R RHOME) >> $env:GITHUB_OUTPUT
38+
- run: |
3939
echo "$R_HOME"
4040
- uses: cjdoris/julia-downgrade-compat-action@v1
4141
if: ${{ matrix.version == '1.10' }}
@@ -49,7 +49,8 @@ jobs:
4949
- uses: julia-actions/julia-buildpkg@v1
5050
- name: Run RCall
5151
run: |
52-
julia -e "using RCall; println(RCall.R.version); println(ENV[\"R_HOME\"])"
52+
julia -e "println(ENV[\"R_HOME\"])"
53+
julia -e "import Pkg; Pkg.add("RCall"); using RCall; println(RCall.R.version)"
5354
- uses: julia-actions/julia-runtest@v1
5455
env:
5556
GROUP: ${{ matrix.group }}

0 commit comments

Comments
 (0)