Skip to content

Commit

Permalink
change checks ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-lamarche committed Dec 22, 2024
1 parent 3d4c4a5 commit 60fe8d3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
on:
push:
branches:
- main
- master
- '**'
pull_request:
branches:
- main
- master
- '**'

name: R-CMD-check

Expand Down Expand Up @@ -81,7 +79,7 @@ jobs:
shell: Rscript {0}

- name: Upload check results
if: failure()
if: failure() && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
uses: actions/upload-artifact@main
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
Expand Down

0 comments on commit 60fe8d3

Please sign in to comment.