Skip to content

Commit 93ef7e7

Browse files
committed
Configure CRAN repo for pak
1 parent 276a775 commit 93ef7e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
run: |
4242
# Override PPM repo and do not autodetect the distro (setup-r action env var)
4343
echo "RSPM=https://p3m.dev/cran/__linux__/manylinux_2_28/latest" >> $GITHUB_ENV
44+
# Configure pak to use the same PPM repo when checking for the latest packages
45+
echo "PKG_CRAN_MIRROR=${RSPM}" >> $GITHUB_ENV
4446
# Disable automatic system requirements installation since it is unnecessary (pak env var)
4547
echo "PKG_SYSREQS=FALSE" >> $GITHUB_ENV
4648

0 commit comments

Comments
 (0)