This action builds an validates Arch Linux package.
The PKGBUILD
and .SRCINFO
files should be under a subdirectory named the same as the pkgbuild
of the package.
This assumption is made so this action works well with aurpublish.
Required Validation target. Can be one of: pkgbuild
, srcinfo
, run
.
Required The pkgname
of the package to be validated.
Verifies and builds the package.
uses: 2m/arch-pkgbuild-builder@v1
with:
target: 'pkgbuild'
pkgname: 'ucm-bin'
Verifies if the .SRCINFO
is up to date with the PKGBUILD
.
uses: 2m/arch-pkgbuild-builder@v1
with:
target: 'srcinfo'
pkgname: 'ucm-bin'
Installs the package and runs a given command
.
uses: 2m/arch-pkgbuild-builder@v1
with:
target: 'run'
pkgname: 'ucm-bin'
command: `ucm --version`
Add a debug: true
key, ie.
uses: 2m/arch-pkgbuild-builder@v1
with:
debug: true
target: 'srcinfo'
pkgname: 'ucm-bin'
This will run entrypoint.sh
with set -x
on.
So far this action is used by the following packages: