Skip to content

Commit

Permalink
Merge pull request #40 from fmicompbio/update-cache-action
Browse files Browse the repository at this point in the history
Update actions/cache
  • Loading branch information
mbstadler authored Jan 6, 2025
2 parents 8f43bd1 + 14d8c64 commit 8254299
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:

- name: Cache R packages
if: runner.os != 'Windows' && matrix.config.image == null
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ env.cache-version }}-${{ runner.os }}-bioc-${{ matrix.config.bioc }}-${{ hashFiles('depends.Rds') }}
Expand All @@ -78,7 +78,12 @@ jobs:
run: |
brew install harfbuzz
brew install fribidi
brew install jpeg
brew install jpeg fftw
mkdir -p /Users/runner/.R
touch /Users/runner/.R/Makevars
echo 'export CPPFLAGS="-I/opt/homebrew/opt/jpeg/include"' >> /Users/runner/.R/Makevars
echo 'export LDFLAGS="-L/opt/homebrew/opt/jpeg/lib"' >> /Users/runner/.R/Makevars
echo 'export PKG_CONFIG_PATH="/opt/homebrew/opt/jpeg/lib/pkgconfig"' >> /Users/runner/.R/Makevars
Rscript -e 'BiocManager::install(c("GenomeInfoDbData"), type = "source")'
Rscript -e 'BiocManager::install(c("GenomicFeatures"), type = "source")'
Expand Down

0 comments on commit 8254299

Please sign in to comment.