GitHub Actions: Update apt index before installing packages

This commit is contained in:
Marius Greuel 2022-09-29 22:02:04 +02:00
parent 8f478f0098
commit 3b8f41ca20
1 changed files with 6 additions and 0 deletions

View File

@ -37,6 +37,8 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install prerequisites - name: Install prerequisites
run: >- run: >-
sudo apt-get update
sudo apt-get install -y sudo apt-get install -y
build-essential build-essential
cmake cmake
@ -95,6 +97,8 @@ jobs:
apt-get update apt-get update
- name: Install prerequisites - name: Install prerequisites
run: >- run: >-
apt-get update
apt-get install -y apt-get install -y
git git
cmake cmake
@ -145,6 +149,8 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install prerequisites - name: Install prerequisites
run: >- run: >-
brew update
brew install brew install
cmake cmake
flex flex