Skip to content

yuezk/publish-ppa-package

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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".

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