Skip to content

Commit 3871501

Browse files
authored
Merge pull request #7872 from dhalbert/apt-get-update
Add 'sudo apt-get update' before any 'sudo apt-get install'
2 parents 3cd6dff + d1df7e9 commit 3871501

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

.github/actions/deps/external/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ runs:
3030
# espressif
3131
- name: Get espressif toolchain
3232
if: inputs.port == 'espressif'
33-
run: sudo apt-get install -y ninja-build
33+
run: |
34+
sudo apt-get update
35+
sudo apt-get install -y ninja-build
3436
shell: bash
3537
- name: Install IDF tools
3638
if: inputs.port == 'espressif'

.github/actions/deps/ports/broadcom/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ runs:
77
run: |
88
wget --no-verbose https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
99
sudo tar -C /usr --strip-components=1 -xaf gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
10+
sudo apt-get update
1011
sudo apt-get install -y mtools
1112
shell: bash
1213
- name: Install mkfs.fat

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ jobs:
174174
uses: ./.github/actions/deps/submodules
175175
- name: Install dependencies
176176
run: |
177+
sudo apt-get update
177178
sudo apt-get install -y latexmk librsvg2-bin texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra
178179
pip install -r requirements-doc.txt
179180
- name: Build and Validate Stubs

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ jobs:
3030
- name: Set up external
3131
uses: ./.github/actions/deps/external
3232
- name: Install dependencies
33-
run: sudo apt-get install -y gettext uncrustify
33+
run: |
34+
sudo apt-get update
35+
sudo apt-get install -y gettext uncrustify
3436
- name: Run pre-commit
3537
uses: pre-commit/[email protected]
3638
- name: Make patch

0 commit comments

Comments
 (0)