]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci/centos:7: cache yum RPMs 8198/head
authorJason Ish <jason.ish@oisf.net>
Fri, 18 Nov 2022 20:52:43 +0000 (14:52 -0600)
committerVictor Julien <vjulien@oisf.net>
Tue, 22 Nov 2022 13:25:33 +0000 (14:25 +0100)
.github/workflows/builds.yml

index 19013b1b7d206ba2ae27baed8c53d512223ce461..177a900db2bb6f1be17828bbbc0b8e253da8b2c6 100644 (file)
@@ -395,6 +395,13 @@ jobs:
           path: ~/.cargo
           key: ${{ github.job }}-cargo
 
+      - name: Cache RPMs
+        uses: actions/cache@v3
+        with:
+          path: /var/cache/yum
+          key: ${{ github.job }}-yum
+      - run: echo "keepcache=1" >> /etc/yum.conf
+
       - name: Install system dependencies
         run: |
           yum -y install epel-release