Skip to content

Commit

Permalink
sudo preserve env
Browse files Browse the repository at this point in the history
  • Loading branch information
assignUser committed May 13, 2024
1 parent 0bb4a98 commit a35c922
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/tasks/r/github.packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ jobs:
extra-packages: cpp11
- name: Set CRAN like openssl
if: contains(matrix.platform.name, 'macOS')
shell: sudo Rscript {0}
# The -E forwards the GITHUB_* envvars
shell: sudo -E Rscript {0}
run: |
# get the mac-recipes version of openssl from CRAN
source("https://mac.R-project.org/bin/install.R")
Expand Down

0 comments on commit a35c922

Please sign in to comment.