[CI] replace 'hashFiles' with actions/go-hashfiles
Some checks failed
Build / Build (push) Failing after 3s

This commit is contained in:
Marius Alwan Meyer 2023-07-19 17:52:55 +02:00
parent d6afe8ca16
commit b6059a0336

View File

@ -18,6 +18,12 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- uses: https://gitea.com/actions/go-hashfiles
id: hash-west
with:
patterns: |-
app/west.yml
- name: Cache west modules - name: Cache west modules
uses: actions/cache@v3 uses: actions/cache@v3
env: env:
@ -28,7 +34,7 @@ jobs:
tools/ tools/
zephyr/ zephyr/
bootloader/ bootloader/
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('app/west.yml') }} key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ steps.hash-west.outputs.hash }}
restore-keys: | restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}- ${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build- ${{ runner.os }}-build-