Skip to content
zap

GitHub Action

Cache apt-install

v4 Latest version

Cache apt-install

zap

Cache apt-install

Cache apt-install

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Cache apt-install

uses: daaku/gh-action-apt-install@v4

Learn more about this action in daaku/gh-action-apt-install

Choose a version

gh-action-apt-install

Cache apt install in GitHub Actions.

Essentially, this bundles all installed files into a single zstd compressed tarball cached using actions/cache for future runs. This is much more speedy than going through the apt install flow, but has various caveats (such as post install scripts are not run).

Usage

- name: Dependencies
  uses: daaku/gh-action-apt-install@v4
  with:
    packages: luajit libluajit-5.1-dev

Optionally a version can be specified to manually bump the cache key.