github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/bitbucket/testdata/steps/example20.yaml (about)

     1  # Example using the caches option to cache dependencies for a Ruby project
     2  
     3  definitions:
     4    caches:
     5      my-bundler-cache: vendor/bundle
     6  
     7  pipelines:
     8    default:
     9      - step:
    10          caches:
    11            - my-bundler-cache # Cache is defined above in the definitions section
    12            - node # Pre-defined Pipelines cache
    13          script:
    14            - bundle install --path vendor/bundle
    15            - ruby -e 'print "Hello, World\n"'