Skip to content

Commit

Permalink
Attempt new approach
Browse files Browse the repository at this point in the history
  • Loading branch information
martinstuder committed Oct 21, 2024
1 parent 3a7daf5 commit ca3f75e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,16 @@ jobs:
info <- sparklyr::spark_install(version="${{ matrix.config.spark }}")
if (.Platform$OS.type == "windows") {
hadoop_path <- file.path(info$sparkVersionDir, "tmp", "hadoop")
hadoop_bin_path <- file.path(hadoopPath, "bin")
hadoop_bin_path <- file.path(hadoop_path, "bin")
dir.create(hadoop_bin_path, recursive = TRUE)
github_env <- Sys.getenv("GITHUB_ENV")
cat(
c(
paste0("HADOOP_VERSION=", info$hadoopVersion),
paste0("HADOOP_HOME=", hadoop_path),
paste0("PATH=", Sys.getenv("PATH"), ":", hadoop_bin_path)
),
file = github_env,
file = Sys.getenv("GITHUB_ENV"),
append = TRUE
)
}
Expand Down

0 comments on commit ca3f75e

Please sign in to comment.