Unverified Commit 366e5ba0 authored by Wojtek Mach's avatar Wojtek Mach Committed by GitHub
Browse files

Update cache key for Elixir (#568)

parent 8d3f2fc3
Loading
Loading
Loading
Loading
+2 −1
Changes for examples.md: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -97,13 +97,14 @@ steps:
```

## Elixir - Mix

```yaml
- uses: actions/cache@v2
  with:
    path: |
      deps
      _build
    key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
    key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock')) }}
    restore-keys: |
      ${{ runner.os }}-mix-
```