Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
janekmi committed Oct 1, 2024
1 parent 3eed59b commit fd1d4f1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/daos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,28 @@ name: DAOS
on:
push:

permissions: {}

jobs:
clear_caches:
name: Clear caches
runs-on: ubuntu-latest
strategy:
matrix:
ref: [master, release/2.6]
permissions:
actions: write
steps:
- run: |
curl -L \
-X DELETE \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/pmem/pmdk/actions/caches?key=opt_daos-${{ matrix.ref }}"
daos_tests:
name: DAOS
needs: clear_caches
strategy:
matrix:
ref: [master, release/2.6]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daos_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Clone the PMDK repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
repository: janekmi/pmdk # XXX
repository: pmem/pmdk
path: pmdk

- name: Restore ${{ env.DAOS_PATH }} from cache
Expand Down

0 comments on commit fd1d4f1

Please sign in to comment.