File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Clean Up Caches (Debug)
2+
3+ on :
4+ push :
5+ branches :
6+ - infra/actions/denoize
7+
8+ jobs :
9+ run-procedure :
10+ name : Run Clean Up Caches Procedure
11+ uses : ./.github/workflows/fn-clean-up-caches.yml
12+ with :
13+ cache-key-base : clean-up-caches@v1
Original file line number Diff line number Diff line change 1+ name : Clean Up Caches Procedure
2+
3+ on :
4+ workflow_call :
5+ inputs :
6+ cache-key-base :
7+ description : A string used to differentiate from other slices of the cache for other workflow runs, and to forcefully bust the cache when renamed
8+ type : string
9+ required : true
10+ token :
11+ description : The auth token to use
12+ type : string
13+ required : false
14+ default : ${{ github.token }}
15+
16+ jobs :
17+ main :
18+ name : Main
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Checkout repository
22+ uses : actions/checkout@v5
23+
24+ - name : Set up Deno
25+ uses : denoland/setup-deno@v2
26+ with :
27+ deno-version : 2.x
28+ cache-hash : ${{ inputs.cache-key-base }}-${{ hashFiles('deno.lock') }}
29+
30+ - name : Install dependencies
31+ run : deno install
32+
33+ - name : Run main script
34+ run : deno run -P=ci @encode/clean-up-caches
You can’t perform that action at this time.
0 commit comments