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

     1  definitions:
     2    caches:
     3      my-bundler-cache:
     4        key:
     5          files:
     6            - Gemfile.lock
     7            - "**/*.gemspec" # glob patterns are supported for cache key files
     8        path: vendor/bundle
     9  
    10  pipelines:
    11    default:
    12      - step:
    13          caches:
    14            - my-bundler-cache # Cache is defined above in the definitions section
    15          script:
    16            - bundle install --path vendor/bundle
    17            - ruby -e 'print "Hello, World\n"'