Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.14 KB

README.md

File metadata and controls

40 lines (25 loc) · 1.14 KB

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