Add APT repository and key
ActionsTags
(2)GitHub Action to add an APT repository (with its key) to the list of package sources.
- 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
Required. The URI of the APT repository to add.
The URL or path to the GPG public key file to use for authenticating the repository. Default: none.
The suite of the APT repository to add. Default: the codename of the distribution.
Whether to cache any installed prerequisite packages between runs. Default: true
.
gerlero/apt-install
: GitHub Action to install and cache APT packages.
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.