name: 'sccache with Vercel Artifacts'
description: 'Start sccache with multi-level disk+Vercel Artifacts caching for per-crate Rust compilation caching. Automatically stops and prints stats after the job completes.'
inputs:
base-dir:
description: 'SCCACHE_BASE_DIR for path normalization (default: $GITHUB_WORKSPACE)'
required: false
default: ''
turbo-token:
description: 'Fallback TURBO_TOKEN if not set in environment (e.g. from secrets.TURBO_TOKEN)'
required: false
default: ''
runs:
using: 'node20'
main: 'main.js'
post: 'main.js'
post-if: 'always()'