yuezk / publish-ppa-package

GitHub action to publish the Ubuntu PPA (Personal Package Archives) packages.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Publish PPA Package

GitHub action to publish the Ubuntu PPA (Personal Package Archives) packages.

Inputs

repository

Required The PPA repository, e.g. yuezk/globalprotect-openconnect.

gpg_private_key

Required GPG private key exported as an ASCII armored version or its base64 encoding, exported with the following command.

gpg --output private.pgp --armor --export-secret-key <KEY_ID or EMAIL>

gpg_passphrase

Optional Passphrase of the GPG private key.

tarball

Required The tarball of the package to be published.

deb_email

Required The email address of the maintainer.

deb_fullname

Required The full name of the maintainer.

debian_dir

Optional The debian directory, will be merged with the tarball.

series

Optional The series to which the package will be published, separated by space. e.g., "bionic focal".

Default to the series that are supported at the moment, i.e., the output of distro-info --supported.

extra_series

Optional The extra series to which the package will be published, separated by space. e.g., "bionic focal".

revision

Optional The revision of the package, default to 1.

extra_ppa

Optional The extra PPA this package depends on, separated by space. e.g., "liushuyu-011/rust-bpo-1.75".

debmake_arguments

Optional The arguments for debmake

Example usage

name: Publish PPA
uses: yuezk/publish-ppa-package@v2
with:
    repository: "yuezk/globalprotect-openconnect"
    gpg_private_key: ${{ secrets.PPA_GPG_PRIVATE_KEY }}
    gpg_passphrase: ${{ secrets.PPA_GPG_PASSPHRASE }}
    tarball: publish-ppa/globalprotect-openconnect-*/.build/tarball/*.tar.gz
    debian_dir: publish-ppa/globalprotect-openconnect-*/.build/debian
    deb_email: "<email>"
    deb_fullname: "<full name>"
    extra_ppa: "liushuyu-011/rust-bpo-1.75"

Real-world applications

  • GlobalProtect-openconnect: A GlobalProtect VPN client for Linux, written in Rust, based on OpenConnect and Tauri, supports SSO with MFA, Yubikey, etc.

LICENSE

MIT

About

GitHub action to publish the Ubuntu PPA (Personal Package Archives) packages.

License:MIT License


Languages

Language:Shell 100.0%