Skip to content

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

License

Notifications You must be signed in to change notification settings

ernoaapa/wercker-step-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:
    - ernoaapa/cache:
      name: "Restore dependencies from cache"
      action: restore

    # ... your steps here ...

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

License

The MIT License (MIT)

Changelog

0.2.0

  • Fixed the script

0.1.0

  • Initial release

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages