Skip to content

Commit

Permalink
restore build cache and update to to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
XiXiaPdx committed Dec 29, 2023
1 parent e65cbce commit b1f6f12
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,22 +96,22 @@ jobs:
otp-version: ${{ matrix.otp }}

# - name: Restore deps cache
# uses: actions/cache@v2
# uses: actions/cache@v3
# 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@v2
# 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: 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 b1f6f12

Please sign in to comment.