Skip to content

Add APT repository and key

Actions
Add an APT repository (with its key) for installing packages
v1.0.2
Latest
Star (2)

add-apt-repository

CI Release

GitHub Action to add an APT repository (with its key) to the list of package sources.

Usage

- uses: gerlero/add-apt-repository@v1
  with:
    uri: http://example.com/repo
    key: url_or_path_to_key
- uses: gerlero/apt-install@v1
  with:
    packages: package

Inputs

uri

Required. The URI of the APT repository to add.

key

The URL or path to the GPG public key file to use for authenticating the repository. Default: none.

suite

The suite of the APT repository to add. Default: the codename of the distribution.

cache

Whether to cache any installed prerequisite packages between runs. Default: true.

Related actions

Add APT repository and key is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Add an APT repository (with its key) for installing packages
v1.0.2
Latest

Add APT repository and key is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.