From 492f7d12e78204f74da025bfa822fa0103b7bc67 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Sat, 11 Jan 2025 05:30:51 -0800 Subject: [PATCH] Their version of cache key is different from mine --- .gitea/workflows/build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 04e0411..1febf01 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -22,13 +22,14 @@ jobs: id: upstream-version run: | echo "version=$(git rev-parse HEAD)/$(cd chawan && git rev-parse HEAD)" >> $GITHUB_OUTPUT + echo "shorthash=$(cd chawan && git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - name: Check for pre-existing build id: cache uses: actions/cache/restore@v4 with: lookup-only: true key: ${{ steps.upstream-version.outputs.version }} - path: README.md # Path required on lookup only? + path: Chawan-x86_64-${{ steps.upstream-version.outputs.shorthash }}.AppImage" - name: Build AppImage id: build if: steps.cache.outputs.cache-hit != 'true'