diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2024-06-02 00:07:58 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2024-06-02 00:07:58 +0200 |
commit | 03c770626f56d3815433df59bbea8fbf932fe1e4 (patch) | |
tree | 32acbccc79abc280ab6a97b01dc5240487f1f92f | |
parent | 3f82948f4f9fb9d3e1332f306e36c317c67f5575 (diff) | |
download | blogc-03c770626f56d3815433df59bbea8fbf932fe1e4.tar.gz blogc-03c770626f56d3815433df59bbea8fbf932fe1e4.tar.bz2 blogc-03c770626f56d3815433df59bbea8fbf932fe1e4.zip |
build: run `apt update` before installing dependencies
-rw-r--r-- | .github/workflows/main.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d00a04c..101097e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,6 +41,7 @@ jobs: - name: Install dependencies (Ubuntu) if: ${{ matrix.os == 'ubuntu-latest' }} run: | + sudo apt update sudo apt install -y libcmocka-dev ninja-build ronn if [[ "${{ matrix.variant }}" = "memcheck" ]]; then sudo apt install -y valgrind @@ -142,6 +143,7 @@ jobs: - name: Install dependencies run: | + sudo apt update sudo apt install -y ninja-build ronn if [[ "${{ matrix.pkg }}" = "windows-i686" ]]; then sudo apt install -y gcc-mingw-w64-i686 @@ -203,7 +205,9 @@ jobs: path: source - name: Install dependencies - run: sudo apt install -y ninja-build ronn + run: | + sudo apt update + sudo apt install -y ninja-build ronn - name: Validate source run: | |