Skip to content
package

GitHub Action

PKGBUILD Action

v1.2.0 Latest version

PKGBUILD Action

package

PKGBUILD Action

Make the package in a minimal environment and generate .SRCINFO

Installation

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

              

- name: PKGBUILD Action

uses: ouuan/[email protected]

Learn more about this action in ouuan/pkgbuild-action

Choose a version

PKGBUILD Action

Make the package in a minimal environment and generate .SRCINFO.

Inputs

path

The path to the directory containing the PKGBUILD.

archive

Use Arch Linux Archive on the specified date instead of using the latest repo.

Example value: 2023/03/20

Outputs

pkgfile

The path to the built package.

Get Started

      - name: Build Package
        uses: ouuan/pkgbuild-action@master
        id: build-package
        with:
          path: pkgname
      - name: Upload Artifacts
        uses: actions/upload-artifact@v4
        with:
          name: pkgname-${{ github.run_id }}
          path: ${{ steps.build-package.outputs.pkgfile }}