Skip to content

Commit bf1c185

Browse files
jasonishvictorjulien
authored andcommitted
github-ci/centos:7: cache yum RPMs
1 parent 1c13efb commit bf1c185

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/builds.yml

+7
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,13 @@ jobs:
395395
path: ~/.cargo
396396
key: ${{ github.job }}-cargo
397397

398+
- name: Cache RPMs
399+
uses: actions/cache@v3
400+
with:
401+
path: /var/cache/yum
402+
key: ${{ github.job }}-yum
403+
- run: echo "keepcache=1" >> /etc/yum.conf
404+
398405
- name: Install system dependencies
399406
run: |
400407
yum -y install epel-release

0 commit comments

Comments
 (0)