No description
  • Shell 80.5%
  • Just 16.4%
  • Dockerfile 3.1%
Find a file
2024-02-02 19:59:45 +00:00
.github Bump release-drafter/release-drafter from 5 to 6 2024-02-02 19:59:11 +00:00
.gitignore Add helper just commands 2023-10-24 23:21:01 +03:00
.mergify.yml Main branch, and release drafter excludes 2021-05-27 13:39:08 +03:00
.yamllint PR validation 2020-08-15 09:46:39 +03:00
action.yml PR validation 2020-08-15 09:46:39 +03:00
Dockerfile Initial commit 2019-12-23 11:03:15 +02:00
entrypoint.sh Fetch gpg keys for source validation 2023-10-31 21:55:02 +02:00
justfile Fetch gpg keys for source validation 2023-10-31 21:55:02 +02:00
README.md Added kinesis-tailr entry to list of projects 2023-05-09 22:04:27 +02:00

Arch Linux PKGBUILD builder action

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.

Inputs

target

Required Validation target. Can be one of: pkgbuild, srcinfo, run.

pkgname

Required Path to DIRECTORY where the PKGBUILD file is. Assumes the directory is the name of package, ie /path/to/pkgname/'

Example usage

pkgbuild

Verifies and builds the package.

uses: 2m/arch-pkgbuild-builder@v1.16
with:
  target: 'pkgbuild'
  pkgname: 'ucm-bin'

srcinfo

Verifies if the .SRCINFO is up to date with the PKGBUILD.

uses: 2m/arch-pkgbuild-builder@v1.16
with:
  target: 'srcinfo'
  pkgname: 'ucm-bin'

run

Installs the package and runs a given command.

uses: 2m/arch-pkgbuild-builder@v1.16
with:
  target: 'run'
  pkgname: 'ucm-bin'
  command: `ucm --version`

debug mode (optional)

Add a debug: true key, ie.

uses: 2m/arch-pkgbuild-builder@v1.16
with:
  debug: true
  target: 'srcinfo'
  pkgname: 'ucm-bin'

This will run entrypoint.sh with set -x on.

Used by

So far this action is used by the following packages: