From c0ea7f0b17114f8a1d61997095c757b013f52350 Mon Sep 17 00:00:00 2001 From: Fuzzbawls Date: Tue, 18 Jun 2024 18:56:12 -0700 Subject: [PATCH] ga: Update apt cache before environment setup needed for macos cross builds due to an outdated runner cache. --- .github/workflows/build-and-test.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 05d4844749a0c..284f3098321d0 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -441,7 +441,9 @@ jobs: uses: actions/checkout@v4 - name: Setup Environment - run: sudo apt-get install --no-install-recommends --no-upgrade -qq "$APT_BASE" ${{ matrix.config.packages }} + run: | + sudo apt-get update + sudo apt-get install --no-install-recommends --no-upgrade -qq "$APT_BASE" ${{ matrix.config.packages }} - name: depends cache files uses: actions/cache@v4 @@ -563,7 +565,9 @@ jobs: uses: actions/checkout@v4 - name: Setup Environment - run: sudo apt-get install --no-install-recommends --no-upgrade -qq "$APT_BASE" ${{ matrix.config.packages }} + run: | + sudo apt-get update + sudo apt-get install --no-install-recommends --no-upgrade -qq "$APT_BASE" ${{ matrix.config.packages }} - name: depends cache files if: matrix.config.no_depends != 1