Skip to content

Instantly share code, notes, and snippets.

@hatchan
Created October 22, 2015 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hatchan/02f74a1a5595b16d3769 to your computer and use it in GitHub Desktop.
Save hatchan/02f74a1a5595b16d3769 to your computer and use it in GitHub Desktop.
Test wercker cache. Run two builds with this wercker.yml and during the second build you will see the file show up in the first step.
box: ubuntu
build:
steps:
- script:
name: ls -la
code: ls -la $WERCKER_CACHE_DIR
- script:
name: print
code: echo "this is a test" > $WERCKER_CACHE_DIR/static
- script:
name: ls -la
code: ls -la $WERCKER_CACHE_DIR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment