Skip to content

Commit 6ea871e

Browse files
committed
Configure setup-r action and pak to use manylinux_2_28
1 parent a64adbf commit 6ea871e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ jobs:
3636

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

39+
- name: Configure pak and setup-r action to use manylinux_2_28
40+
if: startsWith(matrix.config.os, 'ubuntu') && matrix.config.r != 'devel'
41+
run: |
42+
# Override PPM repo and do not autodetect the distro (setup-r action env var)
43+
echo "RSPM=https://p3m.dev/cran/__linux__/manylinux_2_28/latest" >> $GITHUB_ENV
44+
# Disable automatic system requirements installation since it is unnecessary (pak env var)
45+
echo "PKG_SYSREQS=FALSE" >> $GITHUB_ENV
46+
3947
- uses: r-lib/actions/setup-r@v2
4048
with:
4149
r-version: ${{ matrix.config.r }}

0 commit comments

Comments
 (0)