-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathaction.yml
51 lines (50 loc) · 1.41 KB
/
action.yml
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
44
45
46
47
48
49
50
51
name: 'Create R source package'
description: 'Creates source package from git url'
inputs:
url:
description: 'Git URL where to clone from'
required: true
ref:
description: 'Which commit to checkout'
required: false
subdir:
description: 'Subdirectory in which the package lives'
required: false
branch:
description: 'Name of the branch we are tracking'
required: false
articles:
description: 'Should we build articles (vignettes)'
required: false
outputs:
PACKAGE:
description: 'Name of the package'
VERSION:
description: 'Version of the package'
SOURCEPKG:
description: 'Filename of the source package'
BINARYPKG:
description: 'Filename of the binary package'
COMMIT_TIMESTAMP:
description: 'Time of the last commit'
PKGLOGO:
description: 'Path to logo within pkg dir'
MAINTAINERINFO:
description: 'Base64 encoded JSON list with maintainer data'
VIGNETTES:
description: 'Base64 encoded JSON vignettes list'
COMMITINFO:
description: 'Base64 encoded JSON list with commit data'
GITSTATS:
description: 'Base64 encoded JSON list with git stats'
NEEDS_COMPILATION:
description: 'If the source package has a src dir'
runs:
using: 'docker'
image: 'docker://ghcr.io/r-universe-org/build-source'
args:
- ${{ inputs.url }}
- ${{ inputs.ref }}
- ${{ inputs.subdir }}
- ${{ inputs.branch }}
- ${{ inputs.articles }}