Skip to content

Commit 96f26ef

Browse files
committed
GHA rhub workflow: attempt to include r-universe repo
1 parent a8e8f37 commit 96f26ef

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/rhub.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ jobs:
5656
with:
5757
token: ${{ secrets.RHUB_TOKEN }}
5858
job-config: ${{ matrix.config.job-config }}
59+
- name: Add additional r-universe repository
60+
run: |
61+
# Add additional r-universe repository
62+
options(repos = c(getOption("repos"), "https://geocompr.r-universe.dev"))
63+
shell: Rscript {0}
5964
- uses: r-hub/actions/setup-deps@v1
6065
with:
6166
token: ${{ secrets.RHUB_TOKEN }}
@@ -81,6 +86,7 @@ jobs:
8186
with:
8287
job-config: ${{ matrix.config.job-config }}
8388
token: ${{ secrets.RHUB_TOKEN }}
89+
extra-repositories: https://geocompr.r-universe.dev
8490
- uses: r-hub/actions/platform-info@v1
8591
with:
8692
token: ${{ secrets.RHUB_TOKEN }}

0 commit comments

Comments
 (0)