Skip to content

Commit 532e689

Browse files
committed
WIP
1 parent 0798224 commit 532e689

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,21 @@ jobs:
1616
run: dnf install -y git
1717
- name: Check out repository code
1818
uses: actions/checkout@v4
19+
- name: Enable dnf caching
20+
run: |
21+
echo "keepcache=1" >> /etc/dnf/dnf.conf
22+
23+
- name: Cache DNF packages
24+
uses: actions/cache@v4
25+
with:
26+
path: |
27+
/var/cache/dnf
28+
/var/cache/yum
29+
key: dnf-${{ runner.os }}-${{ inputs.os }}-${{ hashFiles('.github/actions/install-dependencies/action.yml') }}
30+
restore-keys: |
31+
dnf-${{ runner.os }}-${{ inputs.os }}-
32+
dnf-${{ runner.os }}-
33+
1934
- name: Install dependencies
2035
uses: ./.github/actions/install-dependencies
2136
with:

0 commit comments

Comments
 (0)