Skip to content

Commit 6bbf9ac

Browse files
committed
ci: update cache Graphviz
1 parent 445d8f2 commit 6bbf9ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ jobs:
4545
- name: Install Graphviz
4646
run: |
4747
if [ "${{ steps.cache-graphviz.outputs.cache-hit }}" = "true" ]; then
48-
sudo cp ~/graphviz-cache/bin/* /usr/bin/ 2>/dev/null
49-
sudo cp ~/graphviz-cache/lib/* /usr/lib/x86_64-linux-gnu/ 2>/dev/null
50-
sudo cp -r ~/graphviz-cache/share/graphviz /usr/share/ 2>/dev/null
51-
sudo cp -r ~/graphviz-cache/lib/graphviz /usr/lib/x86_64-linux-gnu/ 2>/dev/null
48+
sudo cp ~/graphviz-cache/bin/* /usr/bin/ 2>/dev/null || true
49+
sudo cp ~/graphviz-cache/lib/* /usr/lib/x86_64-linux-gnu/ 2>/dev/null || true
50+
sudo cp -r ~/graphviz-cache/share/graphviz /usr/share/ 2>/dev/null || true
51+
sudo cp -r ~/graphviz-cache/lib/graphviz /usr/lib/x86_64-linux-gnu/ 2>/dev/null || true
5252
sudo ldconfig
5353
sudo dot -c
5454
else

0 commit comments

Comments
 (0)