Skip to content

Commit

Permalink
Add ability to override R repositories
Browse files Browse the repository at this point in the history
Signed-off-by: cicdguy <[email protected]>
  • Loading branch information
cicdguy authored Nov 22, 2023
1 parent 76959c9 commit 939bf87
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-check-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ on:
required: false
default: false
type: boolean
r-repository-overrides:
description: A comma separated named list of R packages repositories to use for installing dependencies
required: false
default: "CRAN=https://cloud.r-project.org"
type: string
enable-staged-dependencies-check:
description: Enable staged dependencies YAML check
required: false
Expand Down Expand Up @@ -318,6 +323,7 @@ jobs:
enable-check: ${{ inputs.enable-staged-dependencies-check }}
run-system-dependencies: ${{ inputs.install-system-dependencies }}
direction: ${{ inputs.sd-direction }}
cran-repos: ${{ inputs.r-repository-overrides }}

- name: Show session info and installed packages ℹ
run: |
Expand Down

0 comments on commit 939bf87

Please sign in to comment.