mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 05:16:10 +01:00
Always run apt-get update before apt-get install
The base images for GitHub Actions are updated weekly, but sometimes that is not enough to be able to install the packages we require. The recommended fix for this is to always run `apt-get update` before `apt-get install`.
This commit is contained in:
parent
dacbf4fd6c
commit
d1d7414eb9
4
.github/workflows/linux-meson-builds.yml
vendored
4
.github/workflows/linux-meson-builds.yml
vendored
@ -21,7 +21,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Prepare environment
|
- name: Prepare environment
|
||||||
run: sudo apt-get install -y meson ninja-build ${{matrix.other_pkgs}}
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y meson ninja-build ${{matrix.other_pkgs}}
|
||||||
|
|
||||||
- name: Configure build
|
- name: Configure build
|
||||||
env:
|
env:
|
||||||
|
4
.github/workflows/linux-other-builds.yml
vendored
4
.github/workflows/linux-other-builds.yml
vendored
@ -73,7 +73,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Prepare environment
|
- name: Prepare environment
|
||||||
run: sudo apt-get install -y ninja-build ${{matrix.other_pkgs}}
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y ninja-build ${{matrix.other_pkgs}}
|
||||||
|
|
||||||
- name: Configure build
|
- name: Configure build
|
||||||
working-directory: ${{runner.workspace}}
|
working-directory: ${{runner.workspace}}
|
||||||
|
4
.github/workflows/linux-simple-builds.yml
vendored
4
.github/workflows/linux-simple-builds.yml
vendored
@ -92,7 +92,9 @@ jobs:
|
|||||||
if: ${{ matrix.cxx == 'g++-5' || matrix.cxx == 'g++-6' }}
|
if: ${{ matrix.cxx == 'g++-5' || matrix.cxx == 'g++-6' }}
|
||||||
|
|
||||||
- name: Prepare environment
|
- name: Prepare environment
|
||||||
run: sudo apt-get install -y ninja-build ${{matrix.other_pkgs}}
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y ninja-build ${{matrix.other_pkgs}}
|
||||||
|
|
||||||
- name: Configure build
|
- name: Configure build
|
||||||
working-directory: ${{runner.workspace}}
|
working-directory: ${{runner.workspace}}
|
||||||
|
Loading…
Reference in New Issue
Block a user