From 009fe4e01c738128004be8e891a703b198264c6c Mon Sep 17 00:00:00 2001 From: Leandro Ostera Date: Tue, 29 Dec 2020 13:33:30 +0100 Subject: [PATCH] Add sample cache for Erlang with Rebar3 --- examples.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/examples.md b/examples.md index 15da4e3..c748065 100644 --- a/examples.md +++ b/examples.md @@ -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