Skip to content

Commit

Permalink
GH builder: support macOS binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Mar 13, 2024
1 parent 4943ca4 commit c57dec4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/gh-repo.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ ghrepo <- local({
# unfortunate name collision
repo_slug <- repo
rm(repo)
pkg_type <- if (Sys.info()[["sysname"]] == "Linux") "source" else "binary"
contrib_url <- utils::contrib.url(repos = "", type = pkg_type)
repo$update_gh(
repo_slug,
paste0(subdir, "/src/contrib"),
paste0(subdir, contrib_url),
inst$built_path,
release_org = release_org
)
Expand Down

0 comments on commit c57dec4

Please sign in to comment.