Skip to content

Commit

Permalink
merge build change
Browse files Browse the repository at this point in the history
  • Loading branch information
mustberuss committed Dec 28, 2024
2 parents 69c366b + 8e88622 commit 1046db4
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
R-CMD-check:
needs: [pre-check]
runs-on: ${{ matrix.config.os }}
timeout-minutes: 60

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

Expand Down Expand Up @@ -61,11 +62,17 @@ jobs:
# Use the head SHA for pull requests
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}

- uses: r-lib/actions/setup-pandoc@v1
- uses: r-lib/actions/setup-pandoc@v2

- name: Check Secrets Access
if: ${{ env.PATENTSVIEW_API_KEY == '' }}
run: |
echo "No access to secrets"
exit 1
- name: Check Secrets Access
if: ${{ env.PATENTSVIEW_API_KEY == '' }}
Expand All @@ -82,7 +89,7 @@ jobs:

- name: Restore R package cache
if: runner.os != 'Windows'
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
Expand Down

0 comments on commit 1046db4

Please sign in to comment.