run apt update in workflow before installing packages
This commit is contained in:
parent
500a257ca3
commit
3e350185f8
1 changed files with 8 additions and 0 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -9,6 +9,8 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
- name: Checkout submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: update apt
|
||||
run: sudo apt update
|
||||
- name: install dependencies
|
||||
run: sudo apt install -y cmake gcc g++
|
||||
- name: cmake
|
||||
|
@ -24,6 +26,8 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
- name: Checkout submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: update apt
|
||||
run: sudo apt update
|
||||
- name: install dependencies
|
||||
run: sudo apt install -y cmake gcc g++
|
||||
- name: cmake
|
||||
|
@ -39,6 +43,8 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
- name: Checkout submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: update apt
|
||||
run: sudo apt update
|
||||
- name: install dependencies
|
||||
run: sudo apt install -y cmake clang
|
||||
- name: cmake
|
||||
|
@ -58,6 +64,8 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
- name: Checkout submodules
|
||||
run: git submodule update --init --recursive
|
||||
- name: update apt
|
||||
run: sudo apt update
|
||||
- name: install dependencies
|
||||
run: sudo apt install -y cmake clang
|
||||
- name: cmake
|
||||
|
|
Loading…
Reference in a new issue