Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daaku/gh-action-apt-install
Cache apt install in GitHub Actions.
https://github.com/daaku/gh-action-apt-install
actions apt-get cache github
Last synced: about 2 months ago
JSON representation
Cache apt install in GitHub Actions.
- Host: GitHub
- URL: https://github.com/daaku/gh-action-apt-install
- Owner: daaku
- License: mit
- Created: 2022-11-01T11:02:32.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-18T12:38:37.000Z (12 months ago)
- Last Synced: 2024-10-31T10:49:03.583Z (2 months ago)
- Topics: actions, apt-get, cache, github
- Language: Shell
- Homepage:
- Size: 18.6 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# 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](https://github.com/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
```yaml
- 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.