-
Notifications
You must be signed in to change notification settings - Fork 24
/
action.yml
36 lines (33 loc) · 820 Bytes
/
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
name: Arch Linux PKGBUILD builder action
description: Builds an validates PKGBUILD definition
branding:
icon: triangle
color: blue
inputs:
pkgname:
description: >-
Path to DIRECTORY where the PKGBUILD file is.
Assumes the directory is the name of package, ie /path/to/pkgname/
required: true
target:
description: >-
Validation target.
Can be one of: "pkgbuild", "srcinfo", "run"
required: true
default: 'pkgbuild'
command:
description: >-
Command to run after package installation.
Used when target=run
required: false
debug:
description: Turns debugging on
required: false
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.target }}
- ${{ inputs.pkgname }}
- ${{ inputs.command }}
- ${{ inputs.debug }}