Skip to content

Commit

Permalink
ga: Update apt cache before environment setup
Browse files Browse the repository at this point in the history
needed for macos cross builds due to an outdated runner cache.
  • Loading branch information
Fuzzbawls committed Jun 19, 2024
1 parent 8dd1641 commit c0ea7f0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c0ea7f0

Please sign in to comment.