Skip to content

Commit

Permalink
Cache ~./elm
Browse files Browse the repository at this point in the history
  • Loading branch information
ceddlyburge committed Oct 4, 2024
1 parent 33b077d commit c37eca7
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:

- uses: actions/setup-node@v3
with:
# Choose your Node.js version here:
node-version: 14.x

- name: Setup node measurement
Expand Down Expand Up @@ -56,18 +55,18 @@ jobs:
# Re-use ~/.elm between runs until elm.json, elm-tooling.json or
# review/elm.json changes. The Elm compiler saves downloaded Elm packages
# to ~/.elm.
# - name: Cache ~/.elm
# uses: actions/cache@v3
# with:
# path: ~/.elm
# key: elm-${{ hashFiles('elm.json', 'review/elm.json') }}

# - name: Cache .elm measurement
# uses: green-coding-berlin/eco-ci-energy-estimation@v3
# with:
# task: get-measurement
# label: "Cache .elm"
# continue-on-error: true
- name: Cache ~/.elm
uses: actions/cache@v3
with:
path: ~/.elm
key: elm-${{ hashFiles('elm.json', 'review/elm.json') }}

- name: Cache .elm measurement
uses: green-coding-berlin/eco-ci-energy-estimation@v3
with:
task: get-measurement
label: "Cache .elm"
continue-on-error: true

- name: npm i
run: npm i
Expand Down

0 comments on commit c37eca7

Please sign in to comment.