Skip to content

Blacksmith Cleanup

Blacksmith Cleanup #2

name: Blacksmith Cleanup
permissions:
contents: read
on:
workflow_dispatch: null
schedule:
- cron: '0 5 * * *'
jobs:
cleanup-turbo-cache:
runs-on: blacksmith-2vcpu-ubuntu-2204
strategy:
matrix:
node-version: [20, 22]
timeout-minutes: 10
steps:
- name: Attach sticky disk
uses: useblacksmith/stickydisk@bc0c024fcc3b738a9ad43776e261cbc53fab37af
with:
key: ${{ github.repository }}-${{ matrix.node-version }}-turbo-cache
path: /
- name: Check
run: echo Removing on ${{ matrix.node-version }}
- name: Cleanup Turbo Cache
run: rm -rf *