forked from 2m/arch-pkgbuild-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
42 lines (39 loc) · 937 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
37
38
39
40
41
42
name: Arch Linux PKGBUILD builder
description: Builds and validates PKGBUILD definition
branding:
icon: triangle
color: blue
inputs:
pkgbuild_dir:
description: >-
Path to Directory containing the PKGBUILD file
required: false
default: '.'
pkgname:
description: >-
Explicitly state the pkgname, if you are facing any difficulties
required: false
default: ''
target:
description: >-
Validation target.
Can be one of: "pkgbuild", "srcinfo", "run"
required: false
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.pkgbuild_dir }}
- ${{ inputs.target }}
- ${{ inputs.command }}
- ${{ inputs.debug }}
- ${{ inputs.pkgname }}