Skip to content

Commit 365d081

Browse files
committed
cache install as well!
1 parent e14ea73 commit 365d081

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pipeline.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ jobs:
8282
run: |
8383
npm install -g [email protected]
8484
85-
- name: Install
86-
run: esy install
87-
8885
- name: Print esy cache
8986
id: print_esy_cache
9087
run: node .github/workflows/print_esy_cache.js
@@ -94,7 +91,10 @@ jobs:
9491
uses: actions/cache@v2
9592
with:
9693
path: ${{ steps.print_esy_cache.outputs.esy_cache }}
97-
key: ${{ matrix.os }}-${{ hashFiles('**/index.json') }}
94+
key: ${{ matrix.os }}-${{ hashFiles('esy.lock/index.json') }}
95+
96+
- name: Install
97+
run: esy install
9898

9999
- name: build
100100
run: esy b

0 commit comments

Comments
 (0)