Skip to content

Commit 479b994

Browse files
Add Rebar cache step
1 parent 6ceceee commit 479b994

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,14 @@ runs:
9898
restore-keys: |
9999
hex-${{ steps.set-shared-cache-key.outputs.shared-cache-key }}-
100100
101+
- name: Restore Rebar build tool cache
102+
uses: actions/cache@v5
103+
with:
104+
path: ~/.cache/rebar3
105+
key: rebar3-${{ steps.set-shared-cache-key.outputs.shared-cache-key }}-${{ hashFiles('**/mix.lock') }}
106+
restore-keys: |
107+
rebar3-${{ steps.set-shared-cache-key.outputs.shared-cache-key }}-
108+
101109
- name: Install Hex package manager
102110
if: inputs.install-hex == 'true'
103111
run: mix local.hex --force

0 commit comments

Comments
 (0)