Skip to content

Commit

Permalink
Merge pull request #495 from ostera/patch-1
Browse files Browse the repository at this point in the history
Add sample cache for Erlang with Rebar3
  • Loading branch information
Sampark Sharma authored and GitHub committed Jun 6, 2022
2 parents 438628a + acace7f commit 2b6caae
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- [macOS](#macos)
- [Windows](#windows-1)
- [Elixir - Mix](#elixir---mix)
- [Erlang - Rebar3](#erlang--rebar3)
- [Go - Modules](#go---modules)
- [Linux](#linux-1)
- [macOS](#macos-1)
Expand Down Expand Up @@ -151,6 +152,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

### Linux
Expand Down

0 comments on commit 2b6caae

Please sign in to comment.