forked from heyhusen/archlinux-package-action
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
44 lines (42 loc) · 1.06 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
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
name: "Arch Linux's package action"
description: "GitHub Action to run Arch Linux's package tools"
author: 'Clansty'
branding:
icon: 'package'
color: 'green'
inputs:
path:
description: 'Location for this action to run'
default: ''
required: false
updpkgsums:
description: 'Update checksums on PKGBUILD'
default: 'false'
required: false
srcinfo:
description: 'Generate new .SRCINFO'
default: 'false'
required: false
flags:
description: 'Extra flags for makepkg'
default: '-cfs --noconfirm'
required: false
carch:
description: 'Arch for makepkg'
default: 'x86_64'
required: false
namcap:
description: 'Validate package with namcap'
default: 'true'
required: false
runs:
using: 'docker'
image: 'docker://ghcr.io/clansty/archlinux-package-action:main'
args:
- ${{ inputs.path }}
- ${{ inputs.updpkgsums }}
- ${{ inputs.srcinfo }}
- ${{ inputs.flags }}
- ${{ inputs.namcap }}
- ${{ inputs.carch }}