Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@ jobs:
# Drop archives for versions the index no longer offers so the cache cannot grow.
sudo apt-get autoclean -q
rm -f ~/apt-archives/*.deb
cp /var/cache/apt/archives/*.deb ~/apt-archives/
# The compgen guard: an unmatched glob stays literal and fails cp under
# `set -e`, as it would when the runner image already has every package.
if compgen -G "/var/cache/apt/archives/*.deb" > /dev/null; then
cp /var/cache/apt/archives/*.deb ~/apt-archives/
fi

- name: Save Linux desktop package archives
if: steps.impact.outputs.run != 'false' && steps.apt-archives.outputs.cache-hit != 'true'
Expand Down
Loading