From abef5c37eb54a0382aaeeafee0ad27fb7f148cbd Mon Sep 17 00:00:00 2001 From: Piotrek Zygielo Date: Mon, 16 May 2022 07:30:09 +0200 Subject: [PATCH] Update APT and brew metadata before installing additional libraries --- .github/workflows/maven.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 4f4e7accc..a053c37ef 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -76,10 +76,10 @@ jobs: uses: actions/checkout@v2 - name: Install required libraries (ubuntu) if: ${{ matrix.os == 'ubuntu-latest' }} - run: sudo apt-get install -y libnspr4-dev libnss3-dev + run: sudo apt-get update && sudo apt-get install -y libnspr4-dev libnss3-dev - name: Install required libraries (macos) if: ${{ matrix.os == 'macos-latest' }} - run: brew install nspr nss + run: brew update && brew install nspr nss - name: Build mqcrt library (ubuntu) if: ${{ matrix.os == 'ubuntu-latest' }} run: |