File tree 1 file changed +29
-2
lines changed
1 file changed +29
-2
lines changed Original file line number Diff line number Diff line change 35
35
echo "Cache info: "
36
36
du -h -d2 ${PIP_CACHE_PATH}
37
37
38
+ Cleanup_HF_Cache :
39
+ name : Cleanup HuggingFace cache
40
+ runs-on : aks-linux-4-cores-16gb
41
+ if : ${{ github.repository_owner == 'openvinotoolkit' }}
42
+ container :
43
+ image : openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
44
+ volumes :
45
+ - /mount:/mount
46
+ env :
47
+ HF_CACHE_PATH : /mount/caches/huggingface
48
+
49
+ steps :
50
+ - name : Checkout cache action
51
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
52
+ timeout-minutes : 15
53
+ with :
54
+ sparse-checkout : .github/actions/cache
55
+
56
+ - name : Cleanup HF cache
57
+ uses : ./.github/actions/cache/cleanup
58
+ with :
59
+ cache-size : 1700
60
+ max-cache-size : 2000
61
+ cache-path : ${{ env.HF_CACHE_PATH }}
62
+ recursive : true
63
+ key : ' .'
64
+
38
65
Cleanup_ccache_lin :
39
66
name : Cleanup Linux ccache
40
67
runs-on : aks-linux-2-cores-8gb
47
74
CCACHE_PATH : /mount/caches/ccache
48
75
49
76
steps :
50
- - name : Checkout cach action
77
+ - name : Checkout cache action
51
78
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
52
79
timeout-minutes : 15
53
80
with :
70
97
CCACHE_PATH : C:\\mount\\caches\\ccache
71
98
72
99
steps :
73
- - name : Checkout cach action
100
+ - name : Checkout cache action
74
101
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
75
102
timeout-minutes : 15
76
103
with :
You can’t perform that action at this time.
0 commit comments