From 3fdfde1d52acb6a35af8863a07d09b01c7091b89 Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer <22202402+Sporqist@users.noreply.github.com> Date: Wed, 19 Jul 2023 17:54:42 +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..1e48b8b 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 + 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-