Skip to content

Commit

Permalink
feat(CI): Install mac deps for app package deps
Browse files Browse the repository at this point in the history
  • Loading branch information
schloerke committed May 20, 2024
1 parent e7a0f07 commit bea44a3
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/internal/install-shinyverse/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,23 @@ runs:
cache-version: ${{ inputs.cache-version }}
http-user-agent: ${{ inputs.http-user-agent }}
pandoc-version: ${{ inputs.pandoc-version }}
extra-packages:
${{ inputs.extra-packages }}
extra-packages: ${{ inputs.extra-packages }}

- name: Get packages for macOS system dependencies
if: runner.os == 'macOS'
id: mac-deps
shell: Rscript {0}
run: |
deps <- setdiff(
sort(unique(unlist(unname(shinycoreci:::apps_deps_map)))),
shinycoreci:::shinyverse_pkgs
)
deps <- paste0(deps, collapse = " ")
cat("Deps found:\n"); str(deps)
cat("pkgs=", deps, "\n", file = Sys.getenv("GITHUB_OUTPUT"), sep = "", append = TRUE)
- name: Install mac system dependencies for app packages
if: runner.os == 'macOS'
uses: rstudio/shiny-workflows/setup-macOS-dependencies@v1
with:
extra-packages: ${{ steps.mac-deps.outputs.pkgs }}

0 comments on commit bea44a3

Please sign in to comment.