We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0798224 commit 532e689Copy full SHA for 532e689
.github/workflows/build.yml
@@ -16,6 +16,21 @@ jobs:
16
run: dnf install -y git
17
- name: Check out repository code
18
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
34
- name: Install dependencies
35
uses: ./.github/actions/install-dependencies
36
with:
0 commit comments