Skip to content

Commit

Permalink
Merge pull request #7 from phuse-org/feat/add-option-for-extra-repos
Browse files Browse the repository at this point in the history
feat: Add option for extra repos
  • Loading branch information
epijim authored Feb 22, 2024
2 parents 6a97942 + 1e240de commit 4cae2ee
Showing 1 changed file with 9 additions and 0 deletions.
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

0 comments on commit 4cae2ee

Please sign in to comment.