Skip to content

Commit c02f143

Browse files
committed
chore: attempt to fix ci
1 parent 2e77f09 commit c02f143

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,15 @@ jobs:
8080
- name: Build
8181
run: pnpm build
8282

83+
- name: Compute dep cache key
84+
id: depkey
85+
shell: bash
86+
run: |
87+
set -euo pipefail
88+
echo "dep-cache-key=pnpm-$(sha256sum pnpm-lock.yaml | cut -d' ' -f1)-${GITHUB_RUN_ID}" >> "$GITHUB_OUTPUT"
89+
8390
outputs:
84-
dep-cache-key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}
91+
dep-cache-key: ${{ steps.depkey.outputs.dep-cache-key }}
8592

8693
binarytree:
8794
needs: [build, checkout-submodules]

0 commit comments

Comments
 (0)