Skip to content

Commit a6efca3

Browse files
authored
Merge pull request #297 from beakthoven/apt-fix
ci.sh: Update mirrorlist before installing dependencies
2 parents c265d4c + cd2bc31 commit a6efca3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ function do_deps() {
3434
# We only run this when running on GitHub Actions
3535
[[ -z ${GITHUB_ACTIONS:-} ]] && return 0
3636

37+
# Refresh mirrorlist to avoid dead mirrors
38+
sudo apt-get update -y
39+
3740
sudo apt-get install -y --no-install-recommends \
3841
bc \
3942
bison \

0 commit comments

Comments
 (0)