From 366e5ba0224e0ebd6fba2a453d108cb20e734946 Mon Sep 17 00:00:00 2001 From: Wojtek Mach Date: Mon, 19 Apr 2021 15:42:01 +0200 Subject: [PATCH] Update cache key for Elixir (#568) --- examples.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples.md b/examples.md index 0947e70..cf3be81 100644 --- a/examples.md +++ b/examples.md @@ -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- ```