Skip to content

Commit 1fdcadc

Browse files
committed
Add running sudo apt-get -y update to fix the problem with missed packages in x86 job
1 parent 166376d commit 1fdcadc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,12 @@ jobs:
110110
- uses: actions/checkout@v4
111111
- name: Install 32-bit target
112112
run: rustup target add i686-unknown-linux-gnu
113+
- name: Update install sources (for next step)
114+
# To avoid problem
115+
# E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
116+
# See also this thread:
117+
# https://github.com/actions/runner-images/issues/12599
118+
run: sudo apt-get -y update
113119
- name: Install 32-bit libs (for criterion)
114120
# Criterion wants to compile something.
115121
# Cargo builds criterion even when it is not required for those tests.

0 commit comments

Comments
 (0)