run apt update in workflow before installing packages

This commit is contained in:
Patrick Brosi 2023-10-16 12:43:10 +02:00
parent 500a257ca3
commit 3e350185f8

View file

@ -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