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 uses: actions/checkout@v2
- name: Checkout submodules - name: Checkout submodules
run: git submodule update --init --recursive run: git submodule update --init --recursive
- name: update apt
run: sudo apt update
- name: install dependencies - name: install dependencies
run: sudo apt install -y cmake gcc g++ run: sudo apt install -y cmake gcc g++
- name: cmake - name: cmake
@ -24,6 +26,8 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Checkout submodules - name: Checkout submodules
run: git submodule update --init --recursive run: git submodule update --init --recursive
- name: update apt
run: sudo apt update
- name: install dependencies - name: install dependencies
run: sudo apt install -y cmake gcc g++ run: sudo apt install -y cmake gcc g++
- name: cmake - name: cmake
@ -39,6 +43,8 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Checkout submodules - name: Checkout submodules
run: git submodule update --init --recursive run: git submodule update --init --recursive
- name: update apt
run: sudo apt update
- name: install dependencies - name: install dependencies
run: sudo apt install -y cmake clang run: sudo apt install -y cmake clang
- name: cmake - name: cmake
@ -58,6 +64,8 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Checkout submodules - name: Checkout submodules
run: git submodule update --init --recursive run: git submodule update --init --recursive
- name: update apt
run: sudo apt update
- name: install dependencies - name: install dependencies
run: sudo apt install -y cmake clang run: sudo apt install -y cmake clang
- name: cmake - name: cmake