Skip to content

Commit

Permalink
Sync changes
Browse files Browse the repository at this point in the history
---

- Mention main branch in all workflows
- Run dev workflow on tags
- Run dev workflow on Ubuntu 20.04
  • Loading branch information
krlmlr committed Oct 25, 2021
1 parent 977779c commit 3262205
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/R-CMD-check-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@
# Can't be run as part of commits
on:
schedule:
- cron: '5 0 * * *'
- cron: '5 0 * * *' # only run on main branch
push:
branches:
- "cran-*"
tags:
- "v*"

name: rcc dev

jobs:
matrix:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}

Expand Down Expand Up @@ -235,8 +237,8 @@ jobs:
uses: actions/cache@v2
with:
path: ${{ env.R_LIBS_USER }}
key: ubuntu-18.04-r-dev-release-${{ matrix.package }}-1-${{steps.date.outputs.date}}
restore-keys: ubuntu-18.04-r-dev-release-${{ matrix.package }}-1-
key: ubuntu-20.04-r-dev-release-${{ matrix.package }}-1-${{steps.date.outputs.date}}
restore-keys: ubuntu-20.04-r-dev-release-${{ matrix.package }}-1-

- name: Install system dependencies
if: runner.os == 'Linux'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/revdep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
on:
push:
branches:
- "revdep*"
- "revdep*" # never run automatically on main branch

name: revdep

Expand Down

0 comments on commit 3262205

Please sign in to comment.