Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add option for extra repos #7

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/R-CMD-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ on:
branches: [main]
# Allow for workflow inheritance
workflow_call:
inputs:
extra-repositories:
description: |
One or more extra CRAN-like repositories to include in the `repos` global option.
This is a space-separated list of repositories.
required: false
type: string
default: ""

name: R-CMD-check

Expand All @@ -22,6 +30,7 @@ jobs:
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
extra-repositories: "${{ inputs.extra-repositories }}"

- uses: r-lib/actions/setup-pandoc@v2

Expand Down
Loading