Skip to content

Commit cf8da23

Browse files
committed
Fix refresh cache github action
1 parent 9b51be9 commit cf8da23

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/refresh-dev-cache.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ on:
2525
# Would like to run this as a scheduled workflow, but that is not currently
2626
# supported by the actions/cache action.
2727

28-
env:
29-
CUATRO_HEX_KEY: ${{ secrets.CUATRO_HEX_KEY }}
30-
3128
jobs:
3229
refresh-dev-cache:
3330
name: Refresh Dev Cache
@@ -37,7 +34,7 @@ jobs:
3734

3835
steps:
3936
- name: Checkout
40-
uses: actions/checkout@v2
37+
uses: actions/checkout@v4
4138

4239
- name: Determine the elixir version
4340
run: echo "ELIXIR_VERSION=$(grep -h elixir .tool-versions | awk '{ print $2 }' | awk -F - '{print $1}')" >> $GITHUB_ENV
@@ -52,7 +49,7 @@ jobs:
5249
otp-version: ${{ env.OTP_VERSION }}
5350

5451
- name: Restore the deps cache
55-
uses: actions/cache@v1
52+
uses: actions/cache@v4
5653
id: deps-cache
5754
with:
5855
path: deps
@@ -61,7 +58,7 @@ jobs:
6158
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-
6259
6360
- name: Restore the _build cache
64-
uses: actions/cache@v1
61+
uses: actions/cache@v4
6562
id: build-cache
6663
with:
6764
path: _build
@@ -82,5 +79,3 @@ jobs:
8279

8380
- name: Compile application
8481
run: mix compile
85-
86-
# Generated by Elixir.Gaas.Generators.Simple.Actions.RefreshDevCache

0 commit comments

Comments
 (0)