File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 57
57
58
58
# Cache the installed files
59
59
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 -
61
61
62
62
- name : Check branch name
63
63
shell : bash
@@ -116,7 +116,7 @@ jobs:
116
116
117
117
# Cache the installed files
118
118
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 -
120
120
121
121
- name : Cache Intel OneAPI
122
122
id : cache-oneapi
@@ -202,7 +202,7 @@ jobs:
202
202
203
203
# Cache the installed files
204
204
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 -
206
206
207
207
- name : Check branch name
208
208
shell : bash
You can’t perform that action at this time.
0 commit comments