Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
triangle

GitHub Action

Arch Linux PKGBUILD builder action

v1.8

Arch Linux PKGBUILD builder action

triangle

Arch Linux PKGBUILD builder action

Builds an validates PKGBUILD definition

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Arch Linux PKGBUILD builder action

uses: 2m/[email protected]

Learn more about this action in 2m/arch-pkgbuild-builder

Choose a version

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 The pkgname of the package to be validated.

Example usage

pkguild

Verifies and builds the package.

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

srcinfo

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

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

run

Installs the package and runs a given command.

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

Used by

So far this action is used by the following packages: