Install cache-apt-pkgs-action in a GitHub Workflow
masterTo use this action, create a workflow .yml file in your repository's .github/workflows directory. The action caches APT package dependencies to speed up workflow execution by avoiding re-installation on every run. It is a composition of actions/cache and the apt utility.
Versioning Options
@v#: Pins to the latest release of a major version (e.g.,v1).@master: Most recent manually and automatically tested code (potentially unstable).@staging: Most recent automatically tested code (experimental features).@dev: Very unstable, contains experimental features.
Note: The latest symbol is deprecated. Always pin to a specific version.
steps:
- uses: actions/checkout@v4
- uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: dia doxygen graphviz
version: 1.0