This repository was archived by the owner on Dec 27, 2024. It is now read-only.
File tree 3 files changed +49
-7
lines changed
3 files changed +49
-7
lines changed Original file line number Diff line number Diff line change
1
+ name : Cleanup cache
2
+ on :
3
+ pull_request :
4
+ types :
5
+ - closed
6
+ workflow_dispatch :
7
+ inputs :
8
+ branch :
9
+ description : ' Branch ref to delete caches for'
10
+ required : true
11
+ type : string
12
+
13
+ jobs :
14
+ cleanup :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - name : Check out code
18
+ uses : actions/checkout@v4
19
+
20
+ - name : Cleanup cache
21
+ run : |
22
+ gh extension install actions/gh-actions-cache
23
+
24
+ REPO=${{ github.server_url }}/${{ github.repository }}
25
+ REF=${{ github.event.pull_request.number }}
26
+ BRANCH=${{ inputs.branch || 'refs/pull/$REF/merge' }}
27
+
28
+ echo "Fetching list of cache key"
29
+ echo $BRANCH
30
+ cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )
31
+ echo $cacheKeysForPR
32
+
33
+ ## Setting this to not fail the workflow while deleting cache keys.
34
+ set +e
35
+ echo "Deleting caches..."
36
+ for cacheKey in $cacheKeysForPR
37
+ do
38
+ gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm
39
+ done
40
+ echo "Done"
41
+ env :
42
+ GH_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " mmm-v2" ,
3
- "version" : " 24.10.4 " ,
3
+ "version" : " 24.10.5 " ,
4
4
"description" : " A cross platform app to download and present media for congregation meetings of Jehovah’s Witnesses." ,
5
5
"productName" : " Meeting Media Manager" ,
6
6
"author" : " Olivier Savignac" ,
16
16
},
17
17
"dependencies" : {
18
18
"@electron/remote" : " ^2.1.2" ,
19
- "@formkit/drag-and-drop" : " ^0.2.3 " ,
19
+ "@formkit/drag-and-drop" : " ^0.2.4 " ,
20
20
"@panzoom/panzoom" : " ^4.5.1" ,
21
21
"@quasar/cli" : " ^2.4.1" ,
22
22
"@quasar/extras" : " ^1.16.12" ,
Original file line number Diff line number Diff line change @@ -453,10 +453,10 @@ __metadata:
453
453
languageName : node
454
454
linkType : hard
455
455
456
- " @formkit/drag-and-drop@npm:^0.2.3 " :
457
- version : 0.2.3
458
- resolution : " @formkit/drag-and-drop@npm:0.2.3 "
459
- checksum : 10c0/d073e6ca3335a069c41e12d1313dc62854c836ee2730130a0d4bbe882929f35b66d873594b896b4867146683eee04d9bd3505b812a16da6d33484fb513f71f86
456
+ " @formkit/drag-and-drop@npm:^0.2.4 " :
457
+ version : 0.2.4
458
+ resolution : " @formkit/drag-and-drop@npm:0.2.4 "
459
+ checksum : 10c0/2e1cb181634c546fc971e9565e58155e576309d87c4413a7ab43750f8929d4229cf40c1cbcce29177f5a3f138ef6300b1b8f07e3d99001f2ab1f3bf6674c7529
460
460
languageName : node
461
461
linkType : hard
462
462
@@ -8048,7 +8048,7 @@ __metadata:
8048
8048
" @daipeng7/rollup-plugin-iconfont " : " npm:^3.0.6"
8049
8049
" @electron/rebuild " : " npm:^3.7.0"
8050
8050
" @electron/remote " : " npm:^2.1.2"
8051
- " @formkit/drag-and-drop " : " npm:^0.2.3 "
8051
+ " @formkit/drag-and-drop " : " npm:^0.2.4 "
8052
8052
" @intlify/vite-plugin-vue-i18n " : " npm:^7.0.0"
8053
8053
" @panzoom/panzoom " : " npm:^4.5.1"
8054
8054
" @quasar/app-vite " : " npm:^1.10.0"
You can’t perform that action at this time.
0 commit comments