Skip to content

GitHub Action to add an APT repository to the list of package sources

License

Notifications You must be signed in to change notification settings

gerlero/add-apt-repository

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

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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