Files
makepkg-build-action/README.md
2025-11-12 15:00:02 -05:00

1.2 KiB

makepkg-build-action

Gitea action for building pacman packages. Uses Archery Docker images for building

Usage

See action.yml.

- uses: https://git.sanin.dev/packages_infra/makepkg-build-action@v1-artix
  with:
    # Which repos to use. Can be stable, testing, staging
    deps: 'stable'

    # Which tier of repos to use. 0 for system, 1 for world, etc.
    tier: '1'

    # Username intended to be used for publishing artifacts. Wihtout a proper post-entrypoint.sh script to
    # utilize it, this input does nothing.
    username: 'anonymous'

    # Token to use for authentication with artifact destination. Wihtout a proper post-entrypoint.sh script
    # to utilize it, this input does nothing.
    token: 'anonymous'

Select the desired distro to build in by appending -artix or -arch after the version number.

Publishing

See publish.yml.

In order to publish an artifact, the repo must contain a post-entrypoint.sh script that performs publishing tasks. The script has access to $username and $token that were passed in as action inputs.