Skip to content

Commit

Permalink
Workaround for R and macOS-11
Browse files Browse the repository at this point in the history
  • Loading branch information
hamgamb authored Nov 11, 2021
1 parent 3d981ab commit a8731e7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/deploy-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,16 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@master
- uses: r-lib/actions/setup-r@v1
with:
r-version: '4.0.5'
- name: Check R and Rscript are available
if: runner.os == 'macOS'
run: |
sudo ln -sf $R_HOME/bin/R /usr/local/bin
sudo ln -sf $R_HOME/bin/Rscript /usr/local/bin
env:
R_HOME: /Library/Frameworks/R.framework/Resources
- name: Install packages
env:
GITHUB_PAT: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
Expand Down

0 comments on commit a8731e7

Please sign in to comment.