]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fixed build when apt-get out of date in GitHub Actions images.
authorNathan Moinvaziri <nathan@solidstatenetworks.com>
Wed, 23 Oct 2019 00:21:10 +0000 (17:21 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Thu, 24 Oct 2019 07:15:38 +0000 (09:15 +0200)
.github/workflows/cmake.yml

index 5c14979161dc6124bfe3498a323a93f0e52fddbc..72014980526de6c3903a96ce32f12c911ea8a469 100644 (file)
@@ -257,12 +257,14 @@ jobs:
     - name: Install packages (Ubuntu)
       if: runner.os == 'Linux'
       run: |
+        sudo apt-get update
         sudo apt-get install -y ninja-build ${{ matrix.packages }}
         sudo pip install codecov
 
     - name: Install Clang code coverage tools (Ubuntu)
       if: runner.os == 'Linux' && matrix.codecov && matrix.compiler == 'clang'
       run: |
+        sudo apt-get update
         sudo apt-get install -y gcc-7 clang-7 clang-tools-7 llvm lcov
 
     - name: Install packages (Windows)
@@ -319,4 +321,4 @@ jobs:
         codecov -f $gcovfiles -F "${{ matrix.codecov }}" --name "${{ matrix.name }}"
       env:
         # Codecov does not yet support GitHub Actions
-        CODECOV_TOKEN: "${{secrets.CODECOV_TOKEN}}"
+        CODECOV_TOKEN: "${{secrets.CODECOV_TOKEN}}"
\ No newline at end of file