-
Notifications
You must be signed in to change notification settings - Fork 13
43 lines (37 loc) · 1003 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: main
pull_request:
branches: main
release:
types: [published]
name: Build package
permissions: read-all
jobs:
style:
uses: ./.github/workflows/reusable-style.yaml
permissions:
contents: write
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
document:
uses: ./.github/workflows/reusable-document.yaml
needs: style
permissions:
contents: write
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
cran-check:
uses: ./.github/workflows/reusable-cran-check.yaml
needs: document
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
pkgdown:
uses: ./.github/workflows/reusable-pkgdown.yaml
needs: cran-check
permissions:
contents: write
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}