only sticky disk on blacksmith runners

This commit is contained in:
Brendan Allan
2026-02-12 19:16:22 +08:00
parent 2ae4f387c0
commit 376e357e0f
2 changed files with 2 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ runs:
steps:
- name: Mount Bun Cache
uses: useblacksmith/stickydisk@v1
if: ${{ contains(runner.labels, 'blacksmith') }}
with:
key: ${{ github.repository }}-bun-cache-${{ runner.os }}
path: ~/.bun