Skip to content

Commit b91702d

Browse files
committed
cache otp with arch as well
1 parent f566386 commit b91702d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/macos-precompile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
id: cache-otp
3333
with:
3434
path: ./cache/otp
35-
key: ${{ runner.os }}-otp-${{ matrix.otp_version }}
35+
key: ${{ runner.os }}-otp-${{ matrix.arch }}-${{ matrix.job.otp }}
3636

3737
- name: Install OTP
3838
run: |
@@ -46,7 +46,7 @@ jobs:
4646
uses: actions/cache@v3
4747
with:
4848
path: ./cache/elixir
49-
key: ${{ runner.os }}-elixir-${{ matrix.job.elixir }}-${{ matrix.job.otp }}
49+
key: ${{ runner.os }}-elixir-${{ matrix.arch }}-${{ matrix.job.elixir }}-${{ matrix.job.otp }}
5050

5151
- name: Download and Compile Elixir
5252
if: steps.cache-elixir.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)