diff --git a/.github/workflows/flepicommon-ci.yml b/.github/workflows/flepicommon-ci.yml index 7645a0980..9308b711b 100644 --- a/.github/workflows/flepicommon-ci.yml +++ b/.github/workflows/flepicommon-ci.yml @@ -26,10 +26,16 @@ jobs: uses: actions/checkout@v4 with: lfs: true - - name: Setup R ${{ matrix.R-version }} - uses: r-lib/actions/setup-r@v2 - with: - r-version: ${{ matrix.R-version }} + - name: Install R + run: | + UBUNTU_VERSION=$( echo "$( lsb_release -r )" | awk '{print $2}' | sed 's/\.//g' ) + curl -O https://cdn.rstudio.com/r/ubuntu-${UBUNTU_VERSION}/pkgs/r-${R_VERSION}_1_amd64.deb + sudo apt-get update + sudo apt-get install ./r-${R_VERSION}_1_amd64.deb + R --version + shell: bash + env: + R_VERSION: ${{ matrix.R-version }} - name: Build flepicommon run: | R CMD build flepimop/R_packages/flepicommon/