Skip to content

HiGarfield/cachewrtbuild

 
 

Repository files navigation

Cache Wrt Build action

Licensed Workflow Status

This action caches builds to speed up openwrt compilation.

Inputs

ccache

Check if to cache ccache. Default false.

toolchain

Check if to cache toolchain. Default true.

skip

Check if to skip the compilation of toolchain. Default true.

clean

Set to clean cache. Default false.

prefix

Path prefix to openwrt build directory. Default ''.

mixkey

Mix a key to identify a cache when you build openwrt for different architecture. Default ''.

skip_saving

Skip saving. Default false.

extra_paths

Additional cache directories to include (one per line, can specify multiple). Default ''. Relative paths are resolved against the directory set by prefix (i.e. the openwrt build root); absolute paths are also supported.

Output

hit

Indicate cache found.

Example usage

uses: klever1988/cachewrtbuild@main
with:
  ccache: true
  mixkey: 'ramips'
  prefix: 'openwrt'
  extra_paths: |
    path/to/extra/dir1
    path/to/extra/dir2

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%