Unverified Commit 009fe4e0 authored by Leandro Ostera's avatar Leandro Ostera Committed by GitHub
Browse files

Add sample cache for Erlang with Rebar3

parent eed9cfe6
Loading
Loading
Loading
Loading
+13
Changes for examples.md: 13 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  - [C# - NuGet](#c---nuget)
  - [D - DUB](#d---dub)
  - [Elixir - Mix](#elixir---mix)
  - [Erlang - Rebar3](#erlang--rebar3)
  - [Go - Modules](#go---modules)
  - [Haskell - Cabal](#haskell---cabal)
  - [Java - Gradle](#java---gradle)
@@ -104,6 +105,18 @@ steps:
      ${{ runner.os }}-mix-
```

## Erlang - Rebar3
```yaml
- uses: actions/cache@v2
  with:
    path: |
      ~/.cache/rebar3
      _build
    key: ${{ runner.os }}-erlang-${{ env.OTP_VERSION }}-${{ hashFiles('**/*rebar.lock') }}
    restore-keys: |
      ${{ runner.os }}-erlang-${{ env.OTP_VERSION }}-
```

## Go - Modules

```yaml