Build Arch Packages
Find a file
2024-12-27 11:25:43 +01:00
action.yml initial commit 2024-12-27 11:25:43 +01:00
LICENSE Initial commit 2024-12-26 23:17:37 +01:00
README.md initial commit 2024-12-27 11:25:43 +01:00

makepkg-Action

This action builds Arch packages. It is meant to be run inside an archlinux container, like the one we provide at aur/runner-image, which comes with all the necessary tools. Alternatively you could install the necessary tools yourself before running this action.

inputs

Name Default Required Description
update_package_database 'true' No Download fresh package databases before building
update_checksum 'true' No Update the checksum before building the package
lint_pkgbuild 'true' No Run namecap on the PKGBUILD
install_package 'true' No Install the package after it was built
lint_package 'true' No Run namecap on the resulting package

Example usage

jobs:
  build:
    name: Build & Lint
    runs-on: ubuntu-latest-amd64
    container:
      image: "git.michaelsasser.org/aur/runner-image:latest"
      credentials:
        username: ${{ vars.USERNAME_ACTIONS }}
        password: ${{ secrets.PERSONAL_ACCESS_TOKEN_ACTIONS }}

    steps:
      - name: Checkout
        uses: https://git.michaelsasser.org/actions/checkout@v4

      - name: Build Package
        uses: https://git.michaelsasser.org/actions/makepkg@main

Semantic Versioning and Branching Model

This action uses SemVer for its release cycle and follows the GitHub Flow.

License

Copyright © 2020-2001 Michael Sasser Info@MichaelSasser.org. Released under the MIT license.