8000 GitHub - yuezk/publish-ppa-package: GitHub action to publish the Ubuntu PPA (Personal Package Archives) packages.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

License

Notifications You must be signed in to change notification settings

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

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

keep_changelog

Optional Whether to keep the changelog, default to empty.

If set to any non-empty value, the changelog file should be provided in the debian_dir directory. The action will update the changelog file with the package name, revision and distribution.

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.

new_version_template

Optional The template of the new version, default to {VERSION}-ppa{REVISION}~ubuntu{SERIES_VERSION}.

Available variables:

  • {VERSION}: The version of the package. e.g., 1.0.0
  • {REVISION}: The revision of the package. e.g., 1
  • {SERIES}: The series of the package. e.g., focal
  • {SERIES_VERSION}: The version of the series. e.g., 20.04

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.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0