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

workfloapp/wercker-step-cache

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 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:
    - 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

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

  • Shell 100.0%