Skip to content

Commit

Permalink
restore both build and deps cache, update to V3
Browse files Browse the repository at this point in the history
  • Loading branch information
XiXiaPdx committed Dec 29, 2023
1 parent eb9d8b5 commit 2914462
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,18 +100,18 @@ jobs:
with:
path: examples/deps
key: deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}-${{ github.sha }}
# restore-keys: |
# deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}
# deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}

# - name: Restore _build cache
# uses: actions/cache@v3
# with:
# path: examples/_build
# key: build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}-${{ github.sha }}
# restore-keys: |
# build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}
# build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}
restore-keys: |
deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}
deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}
- name: Restore _build cache
uses: actions/cache@v3
with:
path: examples/_build
key: build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}-${{ github.sha }}
restore-keys: |
build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}
build-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}
- name: Install deps
run: mix deps.get
Expand Down

0 comments on commit 2914462

Please sign in to comment.