From 2cd9d3031f4c4686c2548a46a3c67549e9564def Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer <22202402+Sporqist@users.noreply.github.com> Date: Wed, 19 Jul 2023 17:56:15 +0200 Subject: [PATCH] [CI] replace 'hashFiles' with actions/go-hashfiles --- .gitea/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 8d98ba9..f59b3e6 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -18,6 +18,13 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - name: Hash west module + uses: https://gitea.com/actions/go-hashfiles@v0.0.1 + id: hash-west + with: + patterns: |- + app/west.yml + - name: Cache west modules uses: actions/cache@v3 env: @@ -28,7 +35,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-