Skip to content

Commit f3f3b16

Browse files
committed
actions edit.
1 parent b0cdf5e commit f3f3b16

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/check.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ jobs:
5252
shell: Rscript {0}
5353
run: |
5454
cmdstanr::check_cmdstan_toolchain(fix = TRUE)
55+
56+
# Set CmdStan path explicitly (in case it was restored from cache)
57+
cmdstan_dir <- fs::dir_ls("~/.cmdstan", type = "directory", recurse = FALSE)[1]
58+
cmdstanr::set_cmdstan_path(cmdstan_dir)
59+
60+
# Install CmdStan only if not already installed
5561
if (!cmdstanr::cmdstan_version() > "0.0.0") {
5662
cmdstanr::install_cmdstan()
5763
}

0 commit comments

Comments
 (0)