Skip to content
Open
Show file tree
Hide file tree
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
7 changes: 4 additions & 3 deletions .github/workflows/_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,11 @@ jobs:
apt_requirements_file_path: ${{ inputs.packages_path }}
git_reference: ${{ github.base_ref }}

# Always refresh the APT index. Skipping this on an APT cache hit left a
# stale index, so `apt-get install` returned 404 when a pinned package
# version was rotated out of the mirror. The update is cheap; the cache
# still serves the .deb downloads.
- name: Refresh APT repositories
if: >
steps.restore_apt_cache_pr.outputs.cache-hit != 'true' &&
steps.restore_apt_cache_target_branch.outputs.cache-hit != 'true'
run: |
sudo apt-get update
shell: bash
Expand Down
7 changes: 4 additions & 3 deletions workflows/_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,11 @@ jobs:
apt_requirements_file_path: ${{ inputs.packages_path }}
git_reference: ${{ github.base_ref }}

# Always refresh the APT index. Skipping this on an APT cache hit left a
# stale index, so `apt-get install` returned 404 when a pinned package
# version was rotated out of the mirror. The update is cheap; the cache
# still serves the .deb downloads.
- name: Refresh APT repositories
if: >
steps.restore_apt_cache_pr.outputs.cache-hit != 'true' &&
steps.restore_apt_cache_target_branch.outputs.cache-hit != 'true'
run: |
sudo apt-get update
shell: bash
Expand Down
Loading