Skip to content

Commit cb4e818

Browse files
committed
Fix to get caching working ?
1 parent 937c264 commit cb4e818

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
5858
# Cache the installed files
5959
mkdir -p ~/apt-install-cache
60-
dpkg -L ${{ env.PKGS }} | grep -v "^/\.$" | sudo tar -czf ~/apt-install-cache/packages.tar.gz -T - 2>/dev/null || true
60+
dpkg -L ${{ env.PKGS }} | grep -v "^/\.$" | sudo tar --ignore-failed-read -czf ~/apt-install-cache/packages.tar.gz -T -
6161
6262
- name: Check branch name
6363
shell: bash
@@ -116,7 +116,7 @@ jobs:
116116
117117
# Cache the installed files
118118
mkdir -p ~/apt-install-cache
119-
dpkg -L ${{ env.PKGS }} | grep -v "^/\.$" | sudo tar -czf ~/apt-install-cache/packages.tar.gz -T - 2>/dev/null || true
119+
dpkg -L ${{ env.PKGS }} | grep -v "^/\.$" | sudo tar --ignore-failed-read -czf ~/apt-install-cache/packages.tar.gz -T -
120120
121121
- name: Cache Intel OneAPI
122122
id: cache-oneapi
@@ -202,7 +202,7 @@ jobs:
202202
203203
# Cache the installed files
204204
mkdir -p ~/apt-install-cache
205-
dpkg -L ${{ env.PKGS }} | grep -v "^/\.$" | sudo tar -czf ~/apt-install-cache/packages.tar.gz -T - 2>/dev/null || true
205+
dpkg -L ${{ env.PKGS }} | grep -v "^/\.$" | sudo tar --ignore-failed-read -czf ~/apt-install-cache/packages.tar.gz -T -
206206
207207
- name: Check branch name
208208
shell: bash

0 commit comments

Comments
 (0)