/wercker-step-cache

Cache step for Wercker to store/restore dependency directories between builds

Primary LanguageShellMIT LicenseMIT

Wercker cache step

Wercker step to store and restore directories between builds. You can use this to cache Maven, SBT, Ivy dependency repository to speed up the step when the build tool "Download the whole internet"

Oh look Maven downloading internet

Options

  • action Either "store" or "restore"
  • directories (optional) Space separated list of directories in home directory to cache. Default: .m2 .ivy2 .sbt

Example

build:
  steps:
    - sharpershape/cache:
      name: "Restore dependencies from cache"
      action: restore

    # ... your steps here ...

    - sharpershape/cache:
      name: "Store dependencies to cache"
      action: store

License

The MIT License (MIT)

Changelog

0.3.0

  • Removed custom separator to remove bash dependency

0.2.0

  • Fixed the script

0.1.0

  • Initial release