fix(ga): include patches hash in github actions

This commit is contained in:
Paul Chavard 2022-05-10 15:41:26 +02:00
parent e3a15dc841
commit 4968a3f50d

View file

@ -11,11 +11,11 @@ runs:
public/assets public/assets
public/packs-test public/packs-test
tmp/cache/webpacker tmp/cache/webpacker
key: asset-cache-${{ runner.os }}-${{ github.ref }}-${{ github.sha }} key: asset-cache-${{ runner.os }}-${{ hashFiles('patches/**/*.patch') }}-${{ github.ref }}-${{ github.sha }}
restore-keys: | restore-keys: |
asset-cache-${{ runner.os }}-${{ github.ref }}-${{ github.sha }} asset-cache-${{ runner.os }}-${{ hashFiles('patches/**/*.patch') }}-${{ github.ref }}-${{ github.sha }}
asset-cache-${{ runner.os }}-${{ github.ref }}- asset-cache-${{ runner.os }}-${{ hashFiles('patches/**/*.patch') }}-${{ github.ref }}-
asset-cache-${{ runner.os }}- asset-cache-${{ runner.os }}-${{ hashFiles('patches/**/*.patch') }}
- name: Precompile assets - name: Precompile assets
env: env: