Skip to content

Commit

Permalink
enable caching on linux too
Browse files Browse the repository at this point in the history
  • Loading branch information
bschilder committed Nov 17, 2023
1 parent 27863a2 commit ef5a4b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ runs:

- name: 🏦 Restore R package cache
if: |
!contains(github.event.head_commit.message, '[nocache]') && runner.os != 'Linux'
!contains(github.event.head_commit.message, '[nocache]')
uses: actions/cache@v3
with:
path: ${{ env.R_LIBS_USER }}
Expand Down Expand Up @@ -331,7 +331,7 @@ runs:

- name: 🏦 Cache R packages on Linux
if: |
!contains(github.event.head_commit.message, '[nocache]') && runner.os == 'Linux'
!contains(github.event.head_commit.message, '[nocache]')
uses: actions/cache@v3
with:
path: /home/runner/work/_temp/Library
Expand Down

0 comments on commit ef5a4b4

Please sign in to comment.