Add 'sudo apt-get update' before any 'sudo apt-get install'
This commit is contained in:
parent
3cd6dff1d2
commit
d1df7e9cff
4
.github/actions/deps/external/action.yml
vendored
4
.github/actions/deps/external/action.yml
vendored
@ -30,7 +30,9 @@ runs:
|
|||||||
# espressif
|
# espressif
|
||||||
- name: Get espressif toolchain
|
- name: Get espressif toolchain
|
||||||
if: inputs.port == 'espressif'
|
if: inputs.port == 'espressif'
|
||||||
run: sudo apt-get install -y ninja-build
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y ninja-build
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Install IDF tools
|
- name: Install IDF tools
|
||||||
if: inputs.port == 'espressif'
|
if: inputs.port == 'espressif'
|
||||||
|
@ -7,6 +7,7 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
wget --no-verbose https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
|
wget --no-verbose https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
|
||||||
sudo tar -C /usr --strip-components=1 -xaf gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
|
sudo tar -C /usr --strip-components=1 -xaf gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
|
||||||
|
sudo apt-get update
|
||||||
sudo apt-get install -y mtools
|
sudo apt-get install -y mtools
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Install mkfs.fat
|
- name: Install mkfs.fat
|
||||||
|
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -174,6 +174,7 @@ jobs:
|
|||||||
uses: ./.github/actions/deps/submodules
|
uses: ./.github/actions/deps/submodules
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
sudo apt-get install -y latexmk librsvg2-bin texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra
|
sudo apt-get install -y latexmk librsvg2-bin texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra
|
||||||
pip install -r requirements-doc.txt
|
pip install -r requirements-doc.txt
|
||||||
- name: Build and Validate Stubs
|
- name: Build and Validate Stubs
|
||||||
|
4
.github/workflows/pre-commit.yml
vendored
4
.github/workflows/pre-commit.yml
vendored
@ -30,7 +30,9 @@ jobs:
|
|||||||
- name: Set up external
|
- name: Set up external
|
||||||
uses: ./.github/actions/deps/external
|
uses: ./.github/actions/deps/external
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get install -y gettext uncrustify
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y gettext uncrustify
|
||||||
- name: Run pre-commit
|
- name: Run pre-commit
|
||||||
uses: pre-commit/action@v3.0.0
|
uses: pre-commit/action@v3.0.0
|
||||||
- name: Make patch
|
- name: Make patch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user