Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 450 Bytes

Cache.md

File metadata and controls

31 lines (25 loc) · 450 Bytes

Cache

GitLab Input

cache:
  key:
    files:
      - Gemfile.lock
      - package.json
  paths:
    - vendor/ruby
    - node_modules

Transformed Github Action

- uses: actions/cache@v2
  with:
    path: |-
      vendor/ruby
      node_modules
    key: "${{ runner.os }}-${{ hashFiles('Gemfile.lock', 'package.json') }}"

Unsupported Options

  • untracked
  • when
  • actions/cache@v2 is not supported on GHES