From b6059a03368d55d5543362309d03322b54df53bb Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer <22202402+Sporqist@users.noreply.github.com> Date: Wed, 19 Jul 2023 17:52:55 +0200 Subject: [PATCH] [CI] replace 'hashFiles' with actions/go-hashfiles --- .gitea/workflows/build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 8d98ba9..768dec6 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -18,6 +18,12 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - uses: https://gitea.com/actions/go-hashfiles + id: hash-west + with: + patterns: |- + app/west.yml + - name: Cache west modules uses: actions/cache@v3 env: @@ -28,7 +34,7 @@ jobs: tools/ zephyr/ 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: | ${{ runner.os }}-build-${{ env.cache-name }}- ${{ runner.os }}-build-