Skip to content

GitHub action to build Arch Linux packages.

License

Notifications You must be signed in to change notification settings

santilococo/calbuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

calbuilder

GitHub action to build a package, analyze it with namcap, and output the package file (signed or unsigned) and its .SRCINFO.

This action supports PKGBUILDs that have AUR dependencies.

Table of contents

Inputs and outputs

Inputs:

  • pkgDir: relative path to the PKGBUILD directory.
  • gpgPublicKey: GPG public key that will be used to sign packages.
  • gpgPrivateKey: GPG private key.
  • gpgPassphrase: GPG passphrase of gpgPrivateKey.

It is recommended to store gpgPrivateKey and gpgPassphrase as secrets (see Usage).

None of these inputs are required.

Outputs:

  • srcInfo: Generated .SRCINFO.
  • pkgFile: Built package file.

Usage

name: CI

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - id: calbuilder
      uses: santilococo/calbuilder@master
        pkgDir: "libxft-bgra"
        gpgPublicKey: "199980CE93F18E62"
        gpgPrivateKey: "${{ secrets.GPG_PRIVATE_KEY }}"
        gpgPassphrase: "${{ secrets.GPG_PASSPHRASE }}"
    - uses: actions/upload-artifact@v2
      with:
        path: |
          ${{ steps.calbuilder.outputs.srcInfo }}
          ${{ steps.calbuilder.outputs.pkgFile }}

Contributing

PRs are welcome.

License

MIT

About

GitHub action to build Arch Linux packages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published