File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,28 @@ name: DAOS
7
7
on :
8
8
push :
9
9
10
+ permissions : {}
11
+
10
12
jobs :
13
+ clear_caches :
14
+ name : Clear caches
15
+ runs-on : ubuntu-latest
16
+ strategy :
17
+ matrix :
18
+ ref : [master, release/2.6]
19
+ permissions :
20
+ actions : write
21
+ steps :
22
+ - run : |
23
+ curl -L \
24
+ -X DELETE \
25
+ -H "Accept: application/vnd.github+json" \
26
+ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
27
+ -H "X-GitHub-Api-Version: 2022-11-28" \
28
+ "https://api.github.com/repos/pmem/pmdk/actions/caches?key=opt_daos-${{ matrix.ref }}"
11
29
daos_tests :
12
30
name : DAOS
31
+ needs : clear_caches
13
32
strategy :
14
33
matrix :
15
34
ref : [master, release/2.6]
Original file line number Diff line number Diff line change 44
44
- name : Clone the PMDK repo
45
45
uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
46
46
with :
47
- repository : janekmi /pmdk # XXX
47
+ repository : pmem /pmdk
48
48
path : pmdk
49
49
50
50
- name : Restore ${{ env.DAOS_PATH }} from cache
You can’t perform that action at this time.
0 commit comments